Thursday, September 27, 2012

Qsub and Interactive X Windows on CentOS

If you are using torque as a submission agent and wish to use interactive windows for your allocated node. You can use

Step 1:
Launch vncserver on the head node. For more information how to Using VNC Server on CentOS with Windows VNC Viewer

Step 2: Make sure you have configure the server allow ssh forwarding. At /etc/ssh/sshd_config
...
X11Forwarding yes
X11UseLocalhost yes
...
Restart the sshd services.
# service sshd restart


Step 3: Use the qsub command to launch interactive and. The "-X"
$ qsub -q myqueue -l nodes=1:ppn=8 -I -X


No comments: