Starting X11vnc server

Hello!

While configuring X11vnc server I was puzzled by the following problem: the script that runs vnc server when a user logs on - ( /home/-user-/.vnc/x11vnc.sh) - does start vnc server for user1 but does not for user2: the scripts are exactly the same and running the script manually after user's logon does work, but I need to have the X11vnc running automatically after reboot (+ autologon to user2). I can't find any differences between the two users - nevertheless when user1 is logged on, the vnc server gets automatically started, when I log on to user2 - does not.

Both scripts contain this:

Code:
x11vnc -forever -display :0 -rfbauth /home/[user]/.vnc/passwd

I also can't make x11vnc produce logs (by appending -o /var/log/x11vnc.log - the log size is still = 0) so I can't see the why this problem arises.

???

Thank you in advance,
Michael
 
They both try to open the same display (:0), which isn't going to work.
 
Back
Top