
You'll also be asked to if you want to create a view-only password. This is what you'll use later to connect to the VNC instance, so note it down. TightVNCServer will ask you to enter a username and password. You can start a VNC server instance at any point with the following command: vncserver
#Vnc server ubuntu how to#
Now it's time to install TightVNC server: sudo apt install tightvncserver How to start and configure VNC server As we're running on a lower-spec VPS, we're going to choose gdm3 by pressing Enter with it selected. gdm3 tends to be more lightweight, but you may also find it uglier. You'll be given the option to choose between gdm3 and lightdm as your display manager. Install Xfce and its goodies enhancements package: sudo apt install xfce4 xfce4-goodies
#Vnc server ubuntu update#
These are what we're going to use today.įirst, make sure your list of packages are up to date: sudo apt update There are a few options when it comes to VNC servers and desktops environments, but the main lightweight ones are Xfce and TightVNC. Naturally, we're going to need to change that if we want to use it with a UI via VNC. When you boot your Ubuntu server for the first time, you'll notice there's no GUI.

First, though, you should be aware of some pre-requisites:

Today, we're going to show you how to install VNC on Ubuntu 20.04 and then how to use a VNC viewer on a Windows 10 client PC to connect to it. Though you'll have to run quite a few commands to get going, the advantage is that you won't have to use the command-line-based interface after that point. Setting up, installing, and configuring VNC is relatively easy. With the pairing of a VNC server and VNC viewer, you can use your local keyboard and mouse to interact with your server via a graphical user interface (GUI). VNC, aka Virtual Network Computing, is a useful tool for users who aren't quite used to the terminal-based interfaces of most servers.
