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

 #!/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 text logo
Keith Rainz black and white

Contact me

Chilanga. Along Kafue Road, Lusaka Zambia.

+260977770202

Contact me

Subscribe

Loading