I had a "login loop" issue a good while back, similar to what this thread describes when an automatic update went bad:
I eventually removed and reinstalled enough things so I could boot the noveau drivers and then install the Nvidia drivers but automatic login didn't work afterwards. I've ignored it until now as I don't generally reboot unless forced by an update.
I am re-purposing this laptop and now it needs to be able to automatically start up after a power failure or watchdog timer reset.
When I boot or restart, it hangs at the graphics login screen until I click the password box. I don't need to type the password but it stays frozen there until I click the password box.
are you still using lightdm after your reinstallations?
Does systemctl status display-manager show lightdm running?
If yes, does lightdm --show-config command list autologin-user option?
You may have erased your lightdm config during reinstallation. Check your lightdm config for autologin-user entry. Use lightdm --show-config command. If you have autologin-user entry missing, it is necessary to configure autologin again.
I assume wally is a user you want to automatically login.
Create or edit /etc/lightdm/lightdm.conf file.
Add autologin-user=wally entry under [Seat:*] section and save changes.
So, minimal working file example:
I had to put the created lightdm.conf file into the lightdm.conf.d to get it to work.
Thanks.
But now this has exposed another issue that seems to prevent unattended restarts.
After the auto login a modal dialog pops up that prevents any user interaction.
"Unlock Keyring" Authorization required. How do I get rid of this? or figure out what is automatically starting that is causing it?
I've unchecked the three "GNOME keyring" services in "Startup Applications Preferences" but it made no difference, they are still unchecked once I type in the password to unlock the keyring.