How to install VNC server on Ubuntu server

In this post, you will learn How to install VNC server on Ubuntu server. Watch the video below and use the codes below as used in the video.

sudo apt-get update

$ sudo apt install xfce4 xfce4-goodies tightvncserver

$ vncserver

$ vncserver -kill :1

$ mv ~/.vnc/xstartup ~/.vnc/xstartup.bak

$ nano ~/.vnc/xstartup

 xrdb $HOME/.Xresources
 startxfce4 &

$ sudo chmod +x ~/.vnc/xstartup

$ vncserver

$ sudo apt install firefox (optional but recommended)

Use VNC Viewer to remotely connect with your Ubuntu Desktop


Leave a Comment

Keith Rainz

Contact me

Along Kafue Road, Chilanga, Lusaka Zambia.

Contact me

Connect with me