Debian 13 - VNC-server setup
Some notes on how to setup a VNC server in Debian 13.
Virtual desktop
Installing, the following will make a server with a VIRTUAL desktop, not the actual one: sudo bash apt update apt install tigervnc-standalone-server tigervnc-common tightvncserver Starting: vncserver -localhost no NOTE: -localhost no, the server will refuse connections other than localhost without this. To avoid having to type this each time, edit vncserver-config-defaults and uncomment a line like this or add one: $localhost = "no"; Stopping: vncserver -kill :1
The actual desktop
A VNC server that mirrors the actual current desktop session is for some reason called a "scraping" server. Installing: apt update apt install tigervnc-scraping-server Starting: x0vncserver -localhost no -display :0 Stopping: vncserver -kill :1 References: https://computingforgeeks.com/install-and-configure-tigervnc-vnc-server-on-debian/ https://www.howtoforge.com/tutorial/how-to-start-a-vnc-server-for-the-actual-display-scraping-with-tigervnc
This is a personal note. Last updated: 2025-11-23 17:32:48.



