To install and configure TigerVNC on Ubuntu, follow these steps:
sudo apt update sudo apt install tigervnc-standalone-serverSource:www.lautturi.com
vncserver
This will create a configuration file at ~/.vnc/config
and start the VNC server.
geometry
: This option specifies the dimensions of the VNC desktop in pixels.depth
: This option specifies the color depth of the VNC desktop.localhost
: This option specifies whether the VNC server should only listen on the loopback interface (localhost).For example, to set the VNC desktop to a resolution of 1280x1024 with a color depth of 24 bits, you can add the following lines to the configuration file:
geometry=1280x1024 depth=24
vncserver -kill :1 vncserver
5901
.