👍 LIKE & SUBSCRIBE 🔔
Install VNC server on Ubuntu or any other Linux distro! This guide shows you how to set up VNC for remote desktop access.
Update packages
sudo apt update
Install prerequisites
sudo apt install xfce4 xfce4-goodies
Install TightVNC server
sudo apt install tightvncserver
Run VNC server
vncserver
Kill VNC server with ID 1
vncserver -kill :1
Backup VNC startup file
mv ~/.vnc/xstartup ~/.vnc/xstartup.bak
Create new VNC startup file
nano ~/.vnc/xstartup
New startup file parameters:
#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &
Change permissions for new startup file
chmod +x ~/.vnc/xstartup
Change VNC session password
vncpasswd
#VNC #VNCserver #VNCviewer #remotedesktop #Linux #Ubuntu #CentOS #Fedora #Debian #installVNC #configureVNC #remoteaccess #SSH #X11 #desktopsharing #graphicaluserinterface #GUI #commandline #terminal #putty #tightvnc #TigerVNC #RealVNC #troubleshooting #tutorial #howto #vncserver #vncconnect #realvnc #tightvncsetup #tightvncserver