The service is running?
knute@knute-XPS-8700:~$ ps -e | grep x11
3063 ? 00:00:01 x11vnc
knute@knute-XPS-8700:~$ systemctl status x11vnc
● x11vnc.service - x11vnc
Loaded: loaded (/etc/systemd/system/x11vnc.service; enabled; preset: enabl>
Active: active (running) since Mon 2025-10-27 14:46:12 CDT; 29min ago
Invocation: f8be9795fd0d42cd8f00cc6e0481481a
Main PID: 3063 (x11vnc)
Tasks: 1 (limit: 18968)
Memory: 13.5M (peak: 19.7M)
CPU: 1.460s
CGroup: /system.slice/x11vnc.service
└─3063 x11vnc -display :0 -geometry 1920x1080 -forever
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: 27/10/2025 14:46:13
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: The VNC desktop is: knute-XPS>
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: PORT=5900
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: **********************************>
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: Have you tried the x11vnc '-ncache>
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: The scheme stores pixel data offsc>
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: retrieval. It should work with an>
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: x11vnc -ncache 10 ...
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: One can also add -ncache_cr for sm>
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: More info: http://www.karlrunge.co>
Check there is something listening on port 5900
knute@knute-XPS-8700:~$ sudo netstat -tunlp
[sudo: authenticate] Password:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 534/systemd-resolve
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 3063/x11vnc
Make sure you are in fact running X11:
knute@knute-XPS-8700:~$ echo $XDG_SESSION_TYPE
x11
knute@knute-XPS-8700:~$ ps -e | grep x11
3063 ? 00:00:01 x11vnc
knute@knute-XPS-8700:~$ systemctl status x11vnc
● x11vnc.service - x11vnc
Loaded: loaded (/etc/systemd/system/x11vnc.service; enabled; preset: enabl>
Active: active (running) since Mon 2025-10-27 14:46:12 CDT; 29min ago
Invocation: f8be9795fd0d42cd8f00cc6e0481481a
Main PID: 3063 (x11vnc)
Tasks: 1 (limit: 18968)
Memory: 13.5M (peak: 19.7M)
CPU: 1.460s
CGroup: /system.slice/x11vnc.service
└─3063 x11vnc -display :0 -geometry 1920x1080 -forever
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: 27/10/2025 14:46:13
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: The VNC desktop is: knute-XPS>
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: PORT=5900
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: **********************************>
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: Have you tried the x11vnc '-ncache>
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: The scheme stores pixel data offsc>
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: retrieval. It should work with an>
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: x11vnc -ncache 10 ...
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: One can also add -ncache_cr for sm>
Oct 27 14:46:13 knute-XPS-8700 x11vnc[3063]: More info: http://www.karlrunge.co>
Check there is something listening on port 5900
knute@knute-XPS-8700:~$ sudo netstat -tunlp
[sudo: authenticate] Password:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 534/systemd-resolve
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 3063/x11vnc
Make sure you are in fact running X11:
knute@knute-XPS-8700:~$ echo $XDG_SESSION_TYPE
x11
Statistics: Posted by knute — Mon Oct 27, 2025 8:21 pm