Interactive node access via VNC

To make use of a compute node for visualization - since long running jobs are not allowed on the login nodes - you need to perform the following steps on the login nodes of VSC-3.

module load TurboVNC

Only once: Set a vnc password. This is needed when connecting to the vnc server.

mkdir ${HOME}/.vnc
vncpasswd
Password: ******
Warning: password truncated to the length of 8.
Verify:   ******
Would you like to enter a view-only password (y/n)? n

On the login node allocate a compute node (wait for the next available node) and start the vnc in the slurm context:

salloc -N 1 [-L <licence> -J <jobname> ..]
srun vnc.py

Follow the instructions on the screen and connect from your local machine with a vncviewer:

vncviewer -via <user>@vsc3.vsc.ac.at <node>::<port>

(Copied from vsc3_gpu)