Create lightdm.conf

Add autologin option on lightdm.conf in /etc/lightdm/

Under [SeatDefaults] add the key autologin-user = username if you use xinit xSession to enable autologin of user username.