20.2 Installing VNC on Ubuntu
Access to a remote desktop requires a VNC server installed on the remote system, a VNC viewer on the system from which access is being established and, optionally, a secure SSH connection. While a number of VNC server and viewer implementations are available, this chapter will make use of TigerVNC which provides both server and viewer components for Linux-based operating systems. VNC viewer clients for non-Linux platforms include RealVNC and TightVNC.
To install the TigerVNC server package on Ubuntu, simply run the following command:
# apt install tigervnc-standalone-server
If required, the TigerVNC viewer may also be installed as follows:
# apt install tigervnc-viewer
Once the server has been installed the system will need to be configured to run one or more VNC services and to open the appropriate ports on the firewall.