Create a group called autologin
1
sudo groupadd -r autologin
Add the user that you want to autologin to that group
1
sudo gpasswd -a username autologin
Replace the username
with you username.
add or uncomment line autologin-user = username
to /etc/lightdm/lightdm.conf
1
sudo echo "autologin-user=username" >> /etc/lightdm/lightdm.conf
Replace the username
with you username.
Restart you system, hopefully it will work.