- Install NoMachine server edition on server: https://www.nomachine.com/download/download&id=25
- Install VirtualGL on server: http://sourceforge.net/projects/virtualgl/files/2.4.90%20%282.5beta1%29/
- Ensure that the server is using hardware rendering & has OpenGL enabled.
- Edit
/usr/NX/etc/node.cfg
and- uncomment
EnableVirtualGLSupport 0
and replace0
with1
- uncomment
DefaultDesktopCommand
and replace string "/usr/local/bin/nxsession.sh"
- uncomment
- Create
/usr/local/bin/nxsession.sh
with the following contents:
#!/bin/bash
export VGL_DISPLAY=$DISPLAY
/etc/gdm/Xsession gnome-session
- Make
/usr/local/bin/nxsession.sh
executable - Run
vglserver_config +s +f +t
- Restart the machine