I am setting up a shared server for the research in our group, it’s a headless Ubuntu 20.04. People are supposed to log in to web services and share the computing power. JupyterHub is already up & running, with Python and R kernels available. Now I would like to add Slicer support, which I already did on a standalone machine with Ubuntu 18.04.
The documentation (https://www.slicer.org/wiki/Documentation/Nightly/Developers/Python_scripting#How_can_I_run_Slicer_on_a_headless_compute_node.3F) refers to a discussion that is not reachable (http://massmail.spl.harvard.edu/public-archives/slicer-devel/2015/017317.html), that’s why I am opening a new one here.
I have installed Slicer in /opt/slicer-4.10.2 and I am trying to adapt the installation instructions in step 2 from here: https://github.com/Slicer/SlicerJupyter
My questions are:
- I tried to run the Slicer GUI from remote with “ssh -X” but it loops erroring “composeAndFlush: makeCurrent() failed” after the initial medical disclaimer. Is that supposed to work?
- how do I install the SlicerJupyter extension without the GUI?
- how can I access the command to be copied in the SlicerJupyter Extension tab?
Thanks in advance