| User Support & Documentation | ||||||||||||||
Data: Visualization: Running Remote Visualization Jobs on MaverickOn this page
Related linksNeed Help?Running Interactive Jobs Through a Web BrowserMaverick's 3D graphics capabilities can be used from other locations for any OpenGL application using VNC and VirtualGL. The preferred and simplest way to do this is via a Java-based web interface. This requires only a Java-enabled web browser and a terminal with which to log into maverick to start the VNC session. Starting a VNC Session If you are new to VNC you will need to set up a VNC password on maverick. To do this, run vncpasswd This can be done at any time to change your VNC password, but must be done at least once before your first session. Once you have a vnc password:
Your browser should ask you for a password. Enter your VNC password (not your maverick login password) and you will be presented with a maverick desktop in your web browser. Though this looks very much like a standard X Windows desktop, it differs in that all rendering is performed on maverick. You can even connect to the session through multiple browsers on different machines simultaneously if you want to have your display mirrored on other displays for presentations or demonstrations. Alternatively, once you have set your VNC password, you can also launch the VNC server on Maverick through a Web interface on the TeraGrid Visualization Gateway. The default script RUN.vnc limits your interactive session to one hour. See Customizing Your VNC Session to modify the runtime limit.
Running a Graphics Job Over the VNC Session Once your VNC session is running and you have access to the maverick desktop, you can very easily run any application. To run a graphics application (my_graphics_app for example), use the following command: vglrun my_graphics_app Running Interactive Jobs Through a VNC ClientFor optimal performance, Maverick can also be accessed using VNC with a stand-alone VNC client, rather than via a web browser. The recommended client software is TurboVNC, and can be downloaded from the VirtualGL Homepage The latest release of TurboVNC can be found under "Latest Releases." Under certain conditions, the TurboVNC viewer can deliver as much as 2-3 times the performance of the web viewer. The TurboVNC viewer also supports double buffering, which results in significantly smoother animation. Note that while TurboVNC provides optimal performance, other stand-alone VNC clients may work as well. To connect to your VNC session using a stand-alone VNC client:
Customizing Your VNC SessionSeveral parameters of your VNC session can be modified, including the VNC desktop size, job runtime, and number of requested graphics devices. This is done by passing arguments to the qsub command when submitting your job. The syntax and options are summarized below. Syntax: qsub [optional arguments] /usr/local/qsub/RUN.vnc
For example, to modify your VNC session to have a desktop size of 1600x1200, a runtime of 2 hours, and use 4 graphics devices, you would use the command: qsub -v GEOMETRY=1600x1200 -l h_rt=2:00:00 -l gfx=4 /usr/local/qsub/RUN.vnc *NOTE: the maximum allowed runtime for a VNC session is 2 hours.
Troubleshooting
Specific to the Web Interface:
|
||||||||||||||
![]() |
![]() |
|
The TeraGrid project is funded by the National Science Foundation
and includes 11 partners: Please email help@teragrid.org with questions or comments. This site is XHTML 1.0 Transitional, CSS compliant. |
||
![]() |
![]() |