I am moving my systems over to debian ( I know I said that a while back, but RL has a habit of kicking you up the rear) I have set the server to autologin so that X is started, I have tried various ways to get x11vnc to start on boot after doing a bit of googling and they all suggest the same thing.
make a file in /etc/init named x11vnc.conf and add
start on login-session-start script x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth /var/run/lightdm/root/:0 -forever -rfbauth ~/.vnc/passwd -rfbport 5900 end script
this does not work, if i ssh in and type the same line as a normal user it runs and I can connect via vnc.
Can anyone see where or what I am doing wrong?