I am using x11vnc server on Slackware64 14.2 and KDE. I have it configured to run at boot time via the following command in /etc/rc.d/rc.local:
Code:
/usr/local/bin/x11vnc -auth guess -nopw -loop -repeat -nomodtweak -shared -forever -o /var/log/x11vnc.log &
As you can see, I'm specifying -nopw. It does not work if I specify -usepw or '-passwdfile /root/.vnc/passwd', even if I make the .vnc/passwd path readable by all.
If, instead of running x11vnc at boot time, I run it from root at the command line, then I can specify -usepw and it works fine. So, apparently rc.local isn't strictly running as root or some such thing.
Does anyone have any experience with this? Running x11vnc at boot time and able to do some kind of authentication?
I'm also open to other VNC servers that can be started at boot time and "loop" (restart) when the viewer logs out.