Starting a VNC server
[Still a work-in-progress.]
This page assumes you have started an interactive session on the cluster, as described on the Getting started with the cluster page.
The program to start VNC on the cluster node (your server) is
vncserver. The program looks for a configuration file in your home directory called .Xclients. A minimal working copy of this file has the following contents:
#!/bin/bash exec /usr/bin/gnome-session
Check that this file exists in your home directory, and modify its contents if necessary. Then launch the VNC server with
When the server starts, it will report the name of the virtual desktop that it has started. For example, on a node called
r1s22c12 you might see:
New 'r1s22c12:1 (mcneney)' desktop is r1s22c12:1
You will need the cluster node's hostname (r1s22cl12.fas.sfu.ca in this case) and the desktop number (1 in this case) later when you connect from your client.
For nodes incorporated into The Colony from the IRMACS cluster you might see something like:
New 'cluster10.irmacs.sfu.ca:1 (mcneney)' desktop is cluster10.irmacs.sfu.ca:1
You will need the cluster node's hostname (cluster10.irmacs.sfu.ca) and the desktop number (1) later when you connect from your client.