-
Notifications
You must be signed in to change notification settings - Fork 20
Running simulations on a remote server
Buridi Aditya edited this page Oct 9, 2018
·
1 revision
Setup in Linux remote server with GPU:
** WILL NEED SUPERUSER PERMISSIONS **
- Install VirtualGL and TurboVNC. (Make sure you install the 64bit version of virtualgl).
- Shut down the display manager:
/etc/init.d/gdm stop
or/etc/init.d/lightdm stop
depending on the display manager used in your linux system (how to figure this out? Only one of the service will be available tryls /etc/init.d/
to find out the right one ). - Log in as root from the text console (or remotely using ssh.)
- Run
/opt/VirtualGL/bin/vglserver_config
- Select option 1 (Configure the server for use with VirtualGL in GLX mode.)
-
Restrict 3D X server access to vglusers group (recommended)? [Y/n]
Enter Y. -
Restrict framebuffer device access to vglusers group (recommended)? [Y/n]
Enter Y. -
Disable XTEST extension (recommended)? [Y/n]
Enter N. - Open
/etc/group
and search for vglusers and append root,username in that line. - Restart the display manager
/etc/init.d/gdm start
or/etc/init.d/lightdm start
On Linux client machine:
- Install VirtualGL andTurboVNC. (Make sure you install the 64bit version of virtualgl).
- For running an OpenGL specific application in the server run
vglconnect -s username@<remote-server>
- Run
vglrun <application>
.
In case you end up with the error [VGL] ERROR: Could not open display :0.
run sudo /etc/init.d/lightdm restart
or sudo /etc/init.d/gdm restart
.
References: