Connecting to a Campus System via VNC (macOS)

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
  • Be running macOS Catalina (10.15) or higher
  • Have Java installed (instructions for macOS Catalina here)

Tutorial

  1. Download and run the latest version of the TighTVNC Java Viewer (a .zip file).
    TightVNC download
  2. Open the folder to which you saved the file in Finder and double-click the downloaded .zip file to extract its contents.
    Extracting TightVNC Viewer
  3. Expand the extracted folder and double-click the tightvnc-jviewer.jar file.
    Launching TightVNC Viewer
  4. If you receive a warning that the application originates from an unidentified developer, click OK.
    Unidentified developer warning
  5. Press F4 to open the Launchpad.  Search for preferences and click the icon to open System Preferences.
    System Preferences in the Launchpad
  6. Click Security & Privacy.
    Security and Privacy Settingsr
  7. On the General tab, click the Open Anyway button.
    Launching TightVNC Viewer
  8. When prompted, enter your username and password for your computer and click Modify Settings.
    Authorizing the launch
  9. Click Open to launch the program.
    Launching TightVNC Viewer
  10. If prompted for access to a folder, click OK.
    Granting Folder Access
  11. Populate the following fields, replacing mypc.uwo.ca with the hostname of the PC or server on campus to which you wish to connect
    Remote Host mypc.uwo.ca
    Port 5900
    Use SSH tunneling Checked
    SSH Server gate.sci.uwo.ca
    SSH Port 22
    SSH User Your Western username

    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.

    Click Connect.

    Establishing a VNC Connection
  12. If you receive a host verification warning, click Yes.  This is normal and expected when connecting to a host via SSH for the first time.
    Host Verification Warning
  13. When prompted, enter your Western password to establish the SSH tunnel.
    SSH Authentication
  14. When prompted, enter the VNC password that you configured on your campus PC or server and click OK.
    VNC Authentication
  15. You should now be connected to the remote system via VNC. 
  16. When you are finished with your session, simply close the TightVNC Viewer.