How to install VNC on Ubuntu and connect to it!
Hello and welcome to my tutorial. Here is how you can install VNC and connect to your servers.
Start by updating your packages:
sudo apt-get update
Start by installing VNC4SERVER package:
sudo apt -y install vnc4server
Now you must install your desktop enviroment.
I prefer XFCE since it's easy to setup.
sudo apt install xfce4 xfce4-goodies
Configure VNC: Run this command and enter your password for VNC!
Start your VNC service:
Kill your VNC service:
vncserver -kill :1
Follow these instructions:
sudo vim ~/.vnc/xstartup
Add the following of the end of the file:
Start the VNC Server again:
vncserver :1 -geometry 800x600 -depth 24
Now you can connect to your server using an application called VNC VIEWER. Download it here: VNC