Using X11VNC with GDM

Type the following to start X11VNC which allows you to see the greeter, change session etc

You must be root to do this!
x11vnc –display :0 –auth /var/lib/gdm/:0Xauth

This works if no one is logged in