I was following this guideline regarding Continuously running x11vnc on my Kubuntu 16.04. I found Xsetup in here /etc/sddm/Xsetup and I added there:
/usr/local/bin/x11vnc -rfbauth /path/to/the/vnc/passwd -o /var/log/x11vnc.log -forever -bg
x11vnc is started correctly and I can see it in process list AFTER I login as some user. I'd like for it to be working BEFORE I log into Linux.
I found some solutions on Stack Overflow however they are not relevant to Kubuntu 16.04
Any ideas?
Thanks!
So aparently 16.04 has a bug related to sddm that make the x11vnc's -auth guess (which I think is happening by default in your example) logic to fail. The solution is to add -auth /var/run/sddm/* -display :0 to your command line, which I have had success with.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With