

The other complication is that for years the Xauthourity token as in the users home directory under. User Desktop x11vnc Service on its own TCP port (I use standard port 5900)."greeter" x11vnc Service on its own TCP port (I use 5902).The result is that you need to run two seperate services: Since Ubuntu 17 getting (2) going has required need to set up a hack solution as the "greeter" and "user" use different X11 DISPLAYs and the Xorg server instance run under different user ids (uid), user = gdm for "greeter" and YOUR_USER_ACCOUNT for Remote Desktop. This allows you to have complete remote access to your machine and results in the login "greeter" being availeble and then the remote desktop, once you have logged. Create a startup script/s that starts x11vnc on machine boot.

This only works if you have physical access to the machine

