Start by opening a terminal and entering the following command to install TightVNC server and the XFCE desktop manager core files:
$ sudo apt install tightvncserver XFCE4 XFCE4-goodies
After the packages are done installing, we need to configure a username and password that will be used to connect to the VNC server by a client. Create a password with this command: