Install and Configure TigerVNC on Ubuntu
The guide demonstrates how to set up a VNC desktop sharing environment on Ubuntu using TigerVNC. The instructions are applicable to Ubuntu 22.04.x and 24.04.x.
Install TigerVNC Package
Install the TigerVNC server package using the terminal.
sudo apt install tigervnc-standalone-server
Set VNC Password
Run vncpasswd to create a password for VNC session following the prompts.
vncpasswd
Configure TigerVNC Startup Script
Create or edit the TigerVNC configuration script ~/.vnc/config.
session=ubuntu
localhost=no
Start VNC Server
Start the VNC serve with:
vncserver
NOTE
- MUST log out Ubuntu account before connect this Ubuntu from another compute.
- Set Ubuntu
Settings->Power->Screen BlanktoNever.