12.08.2016 - In Debian 9 with Xfce, all I had to do was add this to /etc/lightdm/lightdm.conf : [Seat:*] autologin-user=david. Despite what the other answers .