I take a slightly differnt approach to running Sonic Pi headless, which is to run it with the gui in a virtual X windows using the tehcnique shown here
I have used this with quite a few projects and it seems to work well.
1 Like