Debian 7.7 Wheezy, xorg, SLIM, i3
I'm unable to have x11vnc -usepw -forever started with SLIM, to offer a vnc connection on boot, as I do not have a monitor attached to the computer. I tried to add sessionstart_cmd /usr/bin/x11vnc -usepw -forever to the /etc/slim.conf but that didn't seem to help.
I have a ssh service running on boot, so I thought I could just ssh to the machine and start x11vnc then use the remote desktop connection, but the command fails as it is unable to x11vnc was unable to open the X DISPLAY: ":0", it cannot continue. (tried display 0-9)..
How can I enable x11vnc on boot or start it via ssh?