Start VNC Server - bwUniCluster: Difference between revisions

From bwHPC Wiki
Jump to navigation Jump to search
(Created page with "== Start a VNC Server on the bwUniCluster == To start a VNC Server on the bwUniCluster you must log into the cluster with your username and password as usual. You should not s...")
 
No edit summary
Line 2: Line 2:
To start a VNC Server on the bwUniCluster you must log into the cluster with your username and password as usual.
To start a VNC Server on the bwUniCluster you must log into the cluster with your username and password as usual.
You should not start the server on a login node but request an interactive job using for example the following command.
You should not start the server on a login node but request an interactive job using for example the following command.
$ msub -v HOME,TERM,USER,DISPLAY -S /bin/bash -I -l nodes=1:ppn=1 -l walltime=0:02:00:00
$ msub -V -S /bin/bash -I -l nodes=1:ppn=1 -l walltime=0:02:00:00
On your assigned compute node start the VNC server with
On your assigned compute node start the VNC server with
$ module load vis/tigervnc
$ module load vis/tigervnc

Revision as of 16:13, 29 April 2015

Start a VNC Server on the bwUniCluster

To start a VNC Server on the bwUniCluster you must log into the cluster with your username and password as usual. You should not start the server on a login node but request an interactive job using for example the following command.

$ msub -V -S /bin/bash -I -l nodes=1:ppn=1 -l walltime=0:02:00:00

On your assigned compute node start the VNC server with

$ module load vis/tigervnc
$ run_vncserver

If you start a VNC server for the first time you will be asked to set a password which will be required for clients trying to access your VNC desktop. Use a strong password because otherwise an attacker could take control of your VNC session.