If you want to start a VNC server before login on your Linux machine a good
option is to make the graphical login manager start the VNC server.
Create /etc/init/x11vnc:
vi /etc/init/x11vnc
Then paste:
start on login-session-start
script
/usr/bin/x11vnc -xkb -auth /var/run/lightdm/