How to Install TigerVNC Server on Ubuntu 20.04

Ubuntu 20.04 using GNOME as a desktop environment, this tutorial describes how to install and this tutorial describes how to install and config the TigerVNC server. So we’ll have using the default desktop, GNOME, instead of using XFCE as many tutorials used. Depend on your preferred DE you may need to install different DE for the remote desktop, but this case not covered on this tutorial.

TigerVNC installable on most of Linux distro, the advantages of TigerVNC
– IPv6 support
– View only client
– Full screen mode

Install VNC Server

sudo apt install tigervnc-standalone-server -y

install tightvnc ubuntu 20

Configuring VNC Server

The configuration is really simple, dont need to changes or edit a lot file.

1. Create User

Never run the VNC as root because it will find a way to break your system. If you already had a normal user, skip this step.

sudo adduser atetux

2. Set VNC Password

To setup VNC password for user created on step 1 above run vncpasswd


don’t re-use your login password here, use another one. Make sure you only input 8 character long or less password, because that the only supported by VNC.
setup vnc password ubuntu 20

Start TigerVNC Server

By default TigerVNC will listen to localhost/ only, to able access from outside add -localhost no

vncserver -localhost no

start vncserver ubuntu 20.04

Access VNC Server

There are many VNC clients on Linux such as Remmina, NOVNC, TigerVNC, TightVNC, etc. For this tutorial, I’ll use TightVNC client
Tightvnc client ubuntu

Enter the VNC password
enter the vnc password

vnc connected ubuntu 20.04

2 thoughts on “How to Install TigerVNC Server on Ubuntu 20.04”

  1. Tks for the tutorial, but for me doesn’t work.
    Remote server configuration: VPS Ubuntu 20.04 fresh image
    Local configuration: VM Ubuntu 20.04
    I fixed an error but doesn’t work again:

    $ vncserver -localhost no
    tigervncserver: Can’t start ‘/usr/bin/xterm’: No such file or directory!

    $ apt install xterm


Leave a Comment