4

I had an Ubuntu 19.04 with automatic login enabled (desktop PC). After the upgrade to 19.10 I could no longer log in successfully. After booting an unlock screen was displayed where I could select my username, then enter my password and then click "Unlock". However after entering my password and clicking "Unlock" or pressing Enter nothing would happen and I would stay in the unlock screen. Even the shutdown and restart menu actions would work. A count down would be displayed but nothing would happen after it reached 0.

I had to boot with an old kernel (5.0.0-31-generic) to which I could still log in automatically, disable automatic login and then reboot so that I could successfully log in again with the new kernel. Enabling automatic login again causes the issue to appear again.

2 Answers2

7

Thanks to the above answer, I solved like this:

Edit grub config with sudo nano /etc/default/grub

locate the line starting with GRUB_CMDLINE_LINUX_DEFAULT and empty it or at least remove splash

GRUB_CMDLINE_LINUX_DEFAULT=""

save and run sudo update-grub

Edit GDM config with sudo nano /etc/gdm/custom.conf and set

AutomaticLoginEnable = true
AutomaticLogin = <your user here!>

reboot (sudo reboot) and it should login automatically.

lcapra
  • 358
4

It seems your issue is quite familiar to the "Auto Login bug with nvidia drivers enabled" here. You might want to try some of the suggestions posted there and also post your info on that thread so it can help debug the issue overall. Seems like the only way to go forward for now is to leave auto login disabled.