Running surfice in environment without GUI
Good morning,
I'm trying to run Surfice with the command line in an environment that doesn't have an available display or GUI. Are there any workarounds that I could use to make it work?
The problem of not having an available GUI is that even using the -S option, it stills opens up the Surfice GUI and runs the script in the interface.
Thank you very much for any help.
You may want to see this NITRC issue. You can certainly call Surfice and MRIcroGL from the context, but they will require a OpenGL context to generate graphics. I would expect you can run https://stackoverflow.com/questions/33787542/force-existing-opengl-application-to-render-offscreen-on-a-headless-machine and use mesa to emulate a graphics card if you do not have one.
Good to know, I will give it a try. Not sure if this will work on an automated pipeline that process PET images to the MNI space and uses Surfice to plot the PET on a surface.