Autologin with LighDM in ubuntu 16.04
$ touch /etc/lightdm/lightdm.conf
open file and add the below entry
$ nano /etc/lightdm/lightdm.conf
[SeatDefaults]
autologin-user=lubuntu
autologin-user-timeout=0
greeter-session=lightdm-gtk-greeter
greeter-hide-users=true
user-session=Lubuntu
session-cleanup-script=service lightdm restart
Start VNC Server
x11vnc -shared -forever -xkb -rfbport 5007 -httpport 5009 -repeat &
vncviewer -fullscreen -viewonly -listen &
$ touch /etc/lightdm/lightdm.conf
open file and add the below entry
$ nano /etc/lightdm/lightdm.conf
[SeatDefaults]
autologin-user=lubuntu
autologin-user-timeout=0
greeter-session=lightdm-gtk-greeter
greeter-hide-users=true
user-session=Lubuntu
session-cleanup-script=service lightdm restart
Start VNC Server
x11vnc -shared -forever -xkb -rfbport 5007 -httpport 5009 -repeat &
vncviewer -fullscreen -viewonly -listen &