In my case I'm using lightdm by default and autologin settings can be set from lightdm configuration.
-
Open terminal and run command:
sudo nano /etc/lightdm/lightdm.conf
-
Scroll down and find
[SeatDefaults]
or[Seat:*]
and add these lines below, don't forget to change theautologin-user
with your username:autologin-guest=false autologin-user=brama autologin-user-timeout=0
-
Save then reboot your computer.