I would like to settup my Raspberry Pi to auto login in a specific user. I googled this and the solutions that i found were about editing the /etc/inittab file. My problem i
I found this, which is the only thing that worked for me.
Open the terminal and make first a backup of the file we are going to edit:
su -
gedit /etc/lightdm/lightdm.gedit /etc/lightdm/lightdm.conf.back
Edit now this file:
gedit /etc/lightdm/lightdm.conf
or
nano /etc/lightdm/lightdm.conf
Uncomment these two lines:
autologin-user=USERNAME
autologin-user-timeout=0
Replace USERNAME with your own username. Save the file and exit. Run now this command so that changes are taken into effect:
dpkg-reconfigure lightdm