Virtual Network Computing

From The Wiki Fire
Jump to navigation Jump to search

Virtual Network Computing or VNC allows a user to gain access to a computer through an established network. At Knox, users can use the campus network to access their computers from any computer on campus using VNC software.

Risks[edit]

By setting up a VNC client, you are allowing intimate access to your computer. You can set a level of protection for yourself by setting a password, but that password is all that is keeping someone on campus from being able to use your computer. So, consider yourself warned.

Subnets[edit]

See main article at subnet.

Using VNC software on campus is slightly complicated because the school network is split into subnets. Student subnets are typically divided based on residence.

In order to access a computer that is on a different subnet, you must first access a central computer called "Leibniz". This is a Linux machine that sits outside the subnet system.

Knox users can access this computer by using ssh and logging in with their Knox user names and passwords. Once in, the user may create a VNC server on their virtual machine which can be accessed by a VNC viewing client.

Once accessed by a VNC viewer client, the user may open another VNC viewer and gain access to the remote computer.

Quick and easy guide[edit]

For Windows users[edit]

  1. Install the VNC server on your computer. You can get it off NAS \\nas\pc_apps\vnc\VNC4
  2. Open up the VNC server (it will be in your system tray) and put in a password
  3. Check what you IP address is and remember that, or, since we don't use static IP's, remember what you computer name is.

For Mac users[edit]

Download VNC software[edit]

In order to access your computer from any other computer on campus, you will need a VNC server client. I would suggest Vine Server because it is free and easy to use. Once it is installed, run the application. It might be a good idea to put the application in your startup items list so that it is always running.

Note your IP address (example circled below). You may also enter a password if you wish to protect your computer. See Risks section below.

VNC 2.png

Establish Leibniz server[edit]

  1. Open Terminal (Applications/Utilities/Terminal.app).
  2. Type: ssh username@leibniz.lab.knet.edu and enter your e-mail password when prompted
  3. Type: vncserver
  4. Note the port number, which looks like :6. In the image below, my port number is :1

VNC 1.png

If VNC server (Vine Server) is running on your Mac, then you are ready to access it from any computer on campus, including Windows machines.

Accessing your computer[edit]

  1. Once you have gone through the stages described above, your computer is ready to be accessed. The Windows machines in the computer labs have a program called Real VNC installed (Start-Programs-Real VNC). Run it.
  2. Type: username@leibniz:6 (the :6 is the port number you noted earlier.)
  3. Enter your password when prompted.
  4. You will now see your virtual desktop on Leibniz.
  5. In the terminal, type: vncviewer
  6. Enter your IP address (which you noted earlier. Looks something like 10.3.2.4).
  7. If you are prompted for a password, enter the password you used for the VNC server client on your computer (REAL VNC for Windows or Vine Server for Mac).

And there you are.

Alternate Method[edit]

This method may be faster and it skips you visually going through your Leibniz desktop.

  1. Open Putty (\\nas\pc_apps\putty\putty.exe)
  2. Enter "leibniz.lab.knet.edu" for the host name. I think just "leibniz" will work too.
  3. Click on "tunnels" at the bottom of the left hand pane.
  4. Enter "5900" for the source port
  5. Enter "yourcomputername:5900" (Ex:founders1:5900)
  6. Click "Add."
  7. Enter your username into the command line screen that pops up
  8. Enter your password. I forget whether it's your Knox email password or your original VNC password that you set up on Leibniz. I think it's the Knox one.
  9. Open the RealVNC Viewer
  10. Put in "localhost"
  11. Enter your VNC password
  • Don't close the Putty window until you're done.