VNC, SSH & more: an idiot's guide
by Daniel Reich (Fall 2006)

Below you will find detailed instructions on using vnc to access your remote desktop. Important: grad students must substitute iguana.math.arizona.edu and faculty/staff must substitute bobcat.math.arizona.edu for vncserver in all commands below. Also, substitute your math network username for username.

Setting up your VNC account:

Before you vnc for the first time, you must set up your vnc account:

Using VNC:

Killing desktops and starting new ones

Here's how to kill remote desktops and start new ones (below you will find examples of why you might want to do this):

Controlling size & appearance:

You may find yourself looking at the screen and wishing, for example, that your VNC viewer window had a different size. There is no way to change such server-side properties of an existing desktop. Instead, the existing desktop can be killed and one can start a new one.

Below is an example of how to create a remote desktop with a resolution of 1024x768 with a color depth of 8 bits per pixel. If you want a different resolution and color depth, change the values accordingly.

Heavy Duty Computations

One way to run a specific application remotely via a local GUI is to use the X Windows port forwarding feature of SSH. Below, is an example of how to run matlab on the chivo cluster (for gradstudents) in this fashion.

VNC: a more secure approach

The VNC protocol itself does not securely encrypt the connection. However, it can be made more secure by using the general port forwarding feature of SSH. To accomplish this you will use your number, as it is shorthand for the port on which your remote desktop can be accessed. In fact, by adding 5900 to number, you obtain your portnumber for your remote desktop, e.g. if number is 5, then portnumber is 5905.

http://math.arizona.edu/~swig/documentation/vnc2/index.php
Last modified: Thu, 06 Mar 2008 12:25:33 -0700
E-mail: swig@math.arizona.edu
Valid XHTML 1.0! Valid CSS!