Revision 3 as of 2020-03-22 21:15:39

Clear message

Remote access to a Linux host's desktop with VNC

The following article explains how to access the desktop of a Linux host residing inside the ETH network from another host on the in- or outside by using Virtual Network Computing (VNC)1. Throughout his article, the following placeholders are used:

Connect to the ETH network

If current_host resides outside of the ETH network, you need to connect to it by initiating a VPN connection. The following steps explain the necessary prerequisites.
If current_host is alreay inside the ETH network, skip to the next paragraph.

Know your eth_network_password

If you're unsure about your eth_network_password, login on password.ethz.ch with your regular eth_password and change your former eth_network_password to a new password.

Install the VPN client on current_host

Initiate a VPN connection

Start a VNC server on internal_host

To start a VNC server instance on internal_host, you need to initiate a SSH connection to it.

Initiate a SSH connection to internal_host

Setup and start the VNC server

View and control your remote Desktop on host C

VNC viewer software

The listed VNC software contains a viewer component and is available for both Linux and Windows:

The above list is not meant to be complete, feel free to install other solutions on your own on your home computer.

Check (student) host availability

Check with the command htop if any other users are using C's resources right now. If they do, log out and log in to a different host.
A list of student hosts can be shown by issuing the command grep tardis /etc/hosts

And Mac users?

To be documented. Hint: Everything you need is already available in macOS.