pieper / SlicerMachines

Bootable machine images with Slicer and friends preloaded
Apache License 2.0
5 stars 1 forks source link

vnc does not respond after reboot (nvidia driver) #1

Open pieper opened 3 years ago

pieper commented 3 years ago

After reboot the noVNC endpoint will not connect.

Looking at systemctl the slicerX service does start, so none of the down-stream services start (x11vnc, mwm, slicer...).

Running nvidia-smi says it cannot connect to driver.

Workaround: Based on this suggestion, running sudo apt purge *nvidia*; sudo apt autoremove; sudo ubuntu-drivers autoinstall and rebooting worked but also required manual restart of slicerX and x11vnc after boot.

Still needed: need to be able to cleanly reboot without losing driver state.

pieper commented 3 years ago

The workaround is not consistent, so more research is needed.

pieper commented 3 years ago

Restarting via systemctl is not working for slicerX but running sudo /usr/bin/xinit -- +extension GLX in a tmux session does work. Then doing sudo systemctl restart x11vnc allows connection.