How to install VNC server on Ubuntu server

//

Keith Rainz

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

 #!/bin/bash
 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

server_ip:5901

Leave a Comment

 

Keith Rainz

Contact me

Along Kafue Road, Chilanga, Lusaka Zambia.

Contact me

Connect with me