Connecting to a Campus System via VNC (Windows)

Overview

This tutorial is for members of Science seeking to establish a VNC connection to a campus PC/server without having VPN access.

Audience

This tutorial is written for:

  • Members of the Faculty of Science (faculty/staff/student)
  • Those comfortable with computers and installing/configuring software

Prerequisites

To complete this tutorial, you must:

  • Have a PC or server on campus that is already configured for VNC connections (including having a VNC server enabled and the correct firewall ports open)
  • Know the hostname or IP address of the PC or server on campus to which you wish to connect
  • Have requested and been approved for access to gate.sci.uwo.ca

Tutorial

  1. Install TightVNC Viewer on your computer and launch it.
  2. In the left pane, expand the Connection and SSH nodes and select Tunnels
    PuTTY
  3. Populate the following fields, replacing mypc.uwo.ca with the hostname of the PC or server on campus to which you wish to connect
    Source port 9000
    Destination mypc.uwo.ca:5900

    The example above assumes you have a PC on campus named mypc.uwo.ca that is listening on the default VNC port of 5900.  If your VNC server is listening on a different display, you will need to modify this port number accordingly.  For example, to connect to display :1, you would choose port 5901.

    To connect to this host, you will connect to port 9000 on your home computer once the tunnel is established.

    PuTTY
  4.  Click Add.  The port mapping should appear under the Forwarded ports heading.
    PuTTY
  5.  In the left pane, scroll to the top and select Session.
    PuTTY
  6. Populate the following fields:
    Host Name gate.sci.uwo.ca
    Port 22
    Connection type SSH
    PuTTY
  7. Enter a descriptive name in the Saved Sessions field (such as My Campus PC) and click Save.
    PuTTY
  8. Double-click the session you created earlier in the Saved Sessions list to connect to gate.sci.uwo.ca.
    PuTTY
  9. When prompted, enter your Western username and password.  Note that you will not be able to see what you are typing when entering your password.
    PuTTY
  10. Leave the PuTTY window open and open the Start menu.  Search for TightVNC Viewer and launch it.
    PuTTY
  11. In the  Remote Host field, enter localhost:9000 and click Connect.
    PuTTY
  12. Enter the VNC password that you configured on your campus PC or server and click OK.

    PuTTY
  13. You should now be connected to the remote system via VNC. 
  14. When you are finished with your session, close TightVNC Viewer and switch back to the PuTTY window you left open.  Type exit and press Enter to log out.
    PuTTY