Created
December 15, 2015 12:53
-
-
Save martyngigg/012e05f80c37c26d926b to your computer and use it in GitHub Desktop.
Revisions
-
martyngigg created this gist
Dec 15, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ * 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 replace `0` with `1` * uncomment `DefaultDesktopCommand` and replace string "/usr/local/bin/nxsession.sh" * 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