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
- Download and run the latest version of the TighTVNC Java Viewer (a
.zip
file).
- Open the folder to which you saved the file in Finder and double-click the downloaded
.zip
file to extract its contents.
- Expand the extracted folder and double-click the tightvnc-jviewer.jar file.
- If you receive a warning that the application originates from an unidentified developer, click OK.
- Press F4 to open the Launchpad. Search for preferences and click the icon to open System Preferences.
- Click Security & Privacy.
- On the General tab, click the Open Anyway button.
- When prompted, enter your username and password for your computer and click Modify Settings.
- Click Open to launch the program.
- If prompted for access to a folder, click OK.
- 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.
- 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.
- When prompted, enter your Western password to establish the SSH tunnel.
- When prompted, enter the VNC password that you configured on your campus PC or server and click OK.
- You should now be connected to the remote system via VNC.
- When you are finished with your session, simply close the TightVNC Viewer.