= VirtualGL Usage Note = == TurboVNC == rock@gpfs-server:~$ /opt/TurboVNC/bin/vncpasswd (Enter Your Passwd - The password is saved in ~/.vnc/passwd) [[BR]] rock@gpfs-server:~$ sudo apt-get install xinetd [[BR]] rock@gpfs-server:~$ sudo vim /etc/services [[BR]] {{{ vnc-640x480x8 5950/tcp vnc-800x600x8 5951/tcp vnc-1024x768x8 5952/tcp vnc-1280x1024x8 5953/tcp vnc-1600x1200x8 5954/tcp vnc-640x480x16 5960/tcp vnc-800x600x16 5961/tcp vnc-1024x768x16 5962/tcp vnc-1280x1024x16 5963/tcp vnc-1600x1200x16 5964/tcp vnc-640x480x24 5970/tcp vnc-800x600x24 5971/tcp vnc-1024x768x24 5972/tcp vnc-1280x1024x24 5973/tcp vnc-1600x1200x24 5974/tcp vnc-640x480x32 5980/tcp vnc-800x600x32 5981/tcp vnc-1024x768x32 5982/tcp vnc-1280x1024x32 5983/tcp vnc-1600x1200x32 5984/tcp }}} rock@gpfs-server:~$ sudo vim /etc/xinetd.d [[BR]] {{{ service vnc-640x480x8 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 640x480 -depth 8 } service vnc-800x600x8 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 800x600 -depth 8 } service vnc-1024x768x8 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 1024x768 -depth 8 } service vnc-1280x1024x8 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 1280x1024 -depth 8 } service vnc-1600x1200x8 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 1600x1200 -depth 8 } service vnc-640x480x16 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 640x480 -depth 16 } service vnc-800x600x16 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 800x600 -depth 16 } service vnc-1024x768x16 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 1024x768 -depth 16 } service vnc-1280x1024x16 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 1280x1024 -depth 16 } service vnc-1600x1200x16 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 1600x1200 -depth 16 } service vnc-640x480x24 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 640x480 -depth 24 } service vnc-800x600x24 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 800x600 -depth 24 } service vnc-1024x768x24 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 1024x768 -depth 24 } service vnc-1280x1024x24 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 1280x1024 -depth 24 # port = 5973 } service vnc-1600x1200x24 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 1600x1200 -depth 24 } service vnc-640x480x32 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 640x480 -depth 32 } service vnc-800x600x32 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 800x600 -depth 32 } service vnc-1024x768x32 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 1024x768 -depth 32 } service vnc-1280x1024x32 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 1280x1024 -depth 32 } service vnc-1600x1200x32 { protocol = tcp socket_type = stream wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -once -geometry 1600x1200 -depth 32 } }}} Individual users can provide both user and view-only passwords. These should be different. Users can give the view-only password to someone so that they can see the remote session, but not interact.TurboVNC assigns access based on which password is used. The user password lets you provide mouse and keyboard input. [[BR]] PS: I set 2 passwords for both user & view-only,and passwords are different for all-level users. == VirtualGL == === Server === rock@gpfs-server:~$ sudo /opt/VirtualGL/bin/vglserver_config {{{ 1) Configure server for use with VirtualGL in GLX mode 2) Unconfigure server for use with VirtualGL in GLX mode X) Exit Choose: 1 Restrict local X server access to vglusers group (recommended)? [Y/n] n Restrict framebuffer device access to vglusers group (recommended)? [Y/n] n Disable XTEST extension (recommended)? [Y/n] n ... Granting write permission to /dev/nvidia* for all users ... chmod: cannot access `/dev/nvidia*': No such file or directory chown: cannot access `/dev/nvidia*': No such file or directory ... Adding xhost +localhost to /etc/gdm/Init/Default script ... ... Setting default run level to 5 (enabling graphical login prompt) ... Done. You must restart the display manager for the changes to take effect. 1) Configure server for use with VirtualGL in GLX mode 2) Unconfigure server for use with VirtualGL in GLX mode X) Exit Choose: X }}} rock@gpfs-server:~$ sudo vim /etc/profile {{{ ### Using GLP by Default in VirtualGL VGL_DISPLAY=glp export VGL_DISPLAY }}} rock@gpfs-server:~$ source /etc/profile [[BR]] rock@gpfs-server:~$ /opt/VirtualGL/bin/vglrun IvIsee 3D_model_file [[BR]] === Client === rider@350z:~$ /opt/VirtualGL/bin/vglconnect IP_Address == IvIsee + VirtualGL + TurboVNC +/- GPFS == Reference: http://www.virtualgl.org/vgldoc/2_1final/ [[BR]]