Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to launch x11vnc before login on Kubuntu 16.04

Tags:

ubuntu

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!

like image 602
ToM Avatar asked Sep 11 '25 04:09

ToM


1 Answers

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.

like image 155
teeks99 Avatar answered Sep 13 '25 20:09

teeks99



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!