Using VNC


What is VNC?

VNC stands for "Virtual Network Computer". It is a tool for viewing your UNIX or Windows desktop remotely. There are two parts of VNC: the server and the viewer. In the UNIX lab we manage your VNC server making sure that it is running correctly and restarted whenever machines in the lab are rebooted. The viewer is used to connect from a remote computer and view your desktop.

When you were assigned an account you were given an IP address (four numbers separated by dots beginning with "10.") and a display number (separated from the IP address by a colon). Throughout this discussion I will assume you were assigned 10.5.1.2:3 which would be IP address 10.5.1.2 and display number 3. You will need these number to connect to your VNC server. You have many choices of viewers but we will discuss three: a web applet and the Windows TightVNC client and the UNIX lab vnc client. In addition, in the last section, we will describe how to tunnel your VNC session from off campus (or for more secure use on campus).

From a web browser

This is the simplest way to connect to your VNC session and can be used anywhere on campus. To connect to your VNC session open a web browser (Internet Explore, Mozilla and Firefox all work fine for this) and enter the following URL:

http://<ipaddress>:580<displayNumber>

For example if you were assigned IP address 10.5.1.2 display number 3 you would enter:

http://10.5.1.2:5803

At this point you should be prompted for a password. Enter your assigned password and click the OK button. Important note: When you are done simply close the browser window do not log out of your UNIX desktop session or your VNC session will be rendered useless.

Using the Windows TightVNC viewer

Download and install TightVNC on your windows computer. Find the install location in your windows Start menu. Select VNC viewer and enter the connection IP address and display number you were assigned (with the colon between them). Sorry, I don't do windows so I can't be more specific.

Using the UNIX lab VNC viewer

Simply enter the command:

vncviewer <ipaddress>:<displayNumber>

For example if you were assigned IP address 10.5.1.2 display number 3 you would enter:

vncviewer 10.5.1.2:3

You might wonder why you would want to use VNC within the lab. Many people like to keep everything they are doing open in their VNC session. Or, for example, you might have been editing a file in your VNC session remotely and need to save and exit the editor but have already arrived in class.

Securing VNC

The campus firewall does not permit VNC connections into the UNIX lab unless they are tunneled. VNC can be tunneled through SSH, the Secure SHell system. If you are converned about security you should tunnel your VNC session even when you are working on campus. To do so, follow these simple steps. 

From a Windows machine:

From a Linux/Unix machine:

If you have any questions, please send email to the admins.


Page maintained by:
Mathematics/Computer Science Department
Westminster College
New Wilmington, PA 16172-0001
webmaster@aslan.cs.westminster.edu

[ Powered
by Apache ] [ Powered
by Red Hat Linux ]