
Output You will require a password to access your desktops. And create the initial configuration files, and start a VNC server instance: vncserverĪnd when you will be prompted to enter and verify a password to access your machine remotely: To set a VNC access password, run the vncserver command. Next, install the TightVNC server: sudo apt install tightvncserver So for the purposes of this tutorial, your choice of display manager isn’t pertinent. You’ll only be using Xfce when you connect with a VNC client, and in these Xfce sessions, you’ll already be logged in as your non-root Ubuntu user. It will allow you to select and log in to a desktop environment through a graphical interface. You may face some prompts to choose a default display manager for Xfce. Then, install Xfce along with the xfce4-goodies package, which contains a few enhancements for the desktop environment: sudo apt install xfce4 xfce4-goodies How to Install the Desktop Environment and VNC ServerĪfter connecting to your server with SSH, update your list of packages: sudo apt update Both Xfce and TightVNC are known for being lightweight and fast, which will help ensure that the VNC connection will be smooth and stable even on slower internet connections. In this tutorial, you will install packages for the latest Xfce desktop environment and the TightVNC package available from the official Ubuntu repository. You have many options when it comes to which VNC server and desktop environment you choose. Since an Ubuntu 20.04 server does not come with a graphical desktop environment or a VNC server installed by default, so you’ll begin by installing those. Then, you’ll use a VNC client program on your local machine to interact with your server through a graphical desktop environment.

So join us to see how to set up a VNC server with TightVNC on an Ubuntu 20.04 server and connect to it securely through an SSH tunnel. Let’s walk through the steps of this tutorial to learn how to install and configure VNC on Ubuntu 20.04. Install and Configure VNC on Ubuntu 20.04 And on Linux, you can choose from many options, including Vinagre, krdc, RealVNC, or TightVNC. Also on macOS, you can use the built-in Screen Sharing program or can use a cross-platform app like RealVNC.

On Windows, you can use TightVNC, RealVNC, or UltraVNC. The VNC client you use must support connections over SSH tunnels: – A local computer with a VNC client installed. To set up, follow our Initial server setup on Ubuntu 20.04 The tutorial may be more useful if you consider below: Recommended Article: How to install and configure VNC on Ubuntu 20.04 Prerequisites for installing VNC on Ubuntu 20.04
