How to use VNC

What is VNC?

VNC is often described as "remote desktop" software. Essentially, a familiar Linux desktop runs in a virtual screen sitting in memory on some server, and you can "connect to" or "view" or "remotely control" (all the same thing) that virtual desktop from anywhere in the world. In particular, you can do so from machines running Windows or Mac OS X. (For the curious: you can read more about this project at www.realvnc.com and at www.tightvnc.com. The TightVNC folks have the faster implementation.)

One-time setup: starting a VNC server

To get started, you must once and for all create your virtual X desktop.

How to permanently kill your virtual X desktop

There is seldom a need to do this, If ever you need to kill your virtual X desktop, this is how you would do it, substituting your own desktop number for the sample number shown below.

ssh myusername@bobcat.math.arizona.edu
vncserver -kill :7

Remotely viewing/controlling your virtual X desktop

To connect to (that is: view) your virtual desktop, you use your web browser, or for better performance, you run a special viewer program called vncviewer.

Using a web browser

Simply point the browser to http://bobcat.math.arizona.edu:58xx, where 58xx will be 5807 if you are running on desktop ":7", or 5813 if you are running on desktop ":13", and so on.

Using vncviewer

The software referred to below may be downloaded from tightvnc.com. You only need the viewer. (It is already installed on department computers.) You do not need the server or the source.

From Linux systems

Use the command vncviewer bobcat.math.arizona.edu:7, substituting your desktop number for ":7".

From Windows systems

Double-click the viewer, or find it in your Start menu under Program Files. When it asks where to connect, type in bobcat.math.arizona.edu:7, substituting your desktop number for ":7".

From Macintosh OS X

The vncviewer client program we recommend for Macintosh OS X is Chicken of the VNC. This is available for download from sourceforge.net. This is a fully graphical client and has extensive help files built-in to the program.

Disconnecting

Important cautions (to prevent people yelling at you):

Hints for getting the most out of VNC:

Concerning security


Navigation tree for section Computer Support