processuf.blogg.se

X11vnc ubuntu
X11vnc ubuntu













x11vnc ubuntu

Note, while it is by far the simplest service file, it can't even have support for stop or restart, I myself need to figure this out yet.ĭisclaimer: The man page is quite lengthy, and maybe I've made some serious, e.g. While the simplest solution I came up with is for it to contain: ĮxecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/vnc.passwd -rfbport 5900 -shared

x11vnc ubuntu

Second, we have to create the service file ourselves: sudo nano /lib/systemd/system/vnc.service rw- 1 root root 8 Nov 3 04:00 /etc/vnc.passwd This also ensures the ownership to root and his rw access, as confirmed by: $ ll /etc/vnc.passwd

x11vnc ubuntu

First, it might be a good idea to copy the password file under /etc/, something like: sudo cp ~/.vnc/passwd /etc/vnc.passwd















X11vnc ubuntu