Lock screen will not unlock in Ubuntu 20.04
Since I updated to Ubuntu 20.04, I have been having issues with the lock-screen. The lock-screen works fine the first time that I lock-unlock the computer a short time after a boot. However, if the computer has been running for a while, or it is locked for a second time, the I get stuck in the lock-screen no matter how many times I input the password.
When I try to unlock the computer for the second time, I am presented with the normal lock-screen. I input my password, and click [Enter], then it seems like the computer is unlocking, and I can see my desktop and currently opened apps. However, the computer locks up again after 1 or 2 seconds, and I am presented with a different and more rudimentary looking lock-screen. It does not matter how many times I input my password in this second lock-screen, I get the same behavior: it seems to unlock and I can see the desktop, then it locks again back to the rudimentary looking lock-screen. Moreover, the icons in the top bar of the desktop are changed to the same rudimentary looking ones I see in the rudimentary lock-screen.
First (normal) lock-screen:
Second (rudimentary looking) lock-screen:
Other problem that I have noticed is that, after the first lock-unlock (which strangely enough seems to work as mentioned earlier), the computer will set the displays to the blank power saving mode in about 30sec, even though it is set to 5min. This only happens if the computer has been lock-unlocked successfully, or the displays went to blank power saving mode before. The only workaround that I found is to prevent the automatic screen lock and disable the black screen power saving mode.
Here is a few more details about my setup (let me know if you need more info):
- Ubuntu 20.04 updated with the latest updates.
- Nvidia GTX980 graphics card with the proprietary nvidia driver 440.
- Tower computer.
- 2 monitors.
Thanks!
Solution 1:
I followed @Nmath advice to systematically go over everything I've tried so far to provide better background info, and while I was checking that, I remembered I had installed a bunch of new Gnome extensions when I upgraded to 20.04. I know they are notorious for causing problems, so I decided to check if they were the cause of the problem. Sure enough, disabling them solved the issue. After a bit more testing I found the one that was causing the issue. It's the Time++ Gnome extension. I will be filling a bug report with the developer shortly.
TLDR; disabling the Time++ Gnome extension solved the issue.