I am on xubuntu 14.04.04, and have successfully managed to get a VNC server up and running with SSH tunneling and such. However, I'm experiencing an issue with the VNC server,
x11vnc 0.9.13. Currently, I have the following command execute on start up:
x11vnc -shared -forever -bg -auth guess
-auth guess part uses
x11vnc -findauth to automatically find the correct XAUTHORITY file, which on my system appears to be
Here is the issue I am experiencing: the VNC setup works as expected until the lock screen appears (either when I manually lock the desktop, or an inactivity timeout occurs). When the lock screen appears, the VNC server displays the contents of the desktop just before the timeout occurs, a sort of still-frame or snapshot, and all input from my VNC client is ignored. I am unable to unlock it and return to my desktop from within the VNC client; I must use the remote system's keyboard and monitor. After it has been unlocked non-remotely, the VNC works as expected, until the screen lock appears again.
A few things I should mention:
- I am able to select my user account and login from the account login screen without any issues over VNC, but when the desktop is locked, the issue occurs and I cannot unlock it.
- The command
sudo x11vnc -findauthreturns
XAUTHORITY=/var/run/lightdm/root/:0only while I'm on the initial login screen after I first boot up. After I login, the same command returns
XAUTHORITY=, whether I'm on my desktop or the screen is locked.