Authentication error at lock screen after update to 22.04 LTS

Asked by jj

Hi,
I just upgraded from 20.04 to 22.04 and when my screen locked after inactivity, the login screen displayed "Authentication error", I couldn't enter a password (it wasn't showing as typing), no shortcuts worked and the only power option on screen was to suspend. I can see others have had similar problems. (https://askubuntu.com/questions/1427819/login-issues-after-upgrading-to-22-04-1, https://unix.stackexchange.com/questions/714844/cant-login-to-ubuntu-after-upgrading-to-22-04-1-lts)
How can I fix this (hopefully without reinstalling 20.04...)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You don't need to reinstall for a password issue etc. If you reset your password to something simpler (to test) does it unlock OK?

Revision history for this message
jj (reind33r) said :
#2

Sorry I think you misunderstood the issue. Changing the password would not help because I am unable to *type* anything on the lock screen. The lock screen is blocked.
So far I worked around it by using the shell in recovery mode (there was no way out of the above described situation apart from a hard reset) and running, as far as I recall, rm /var/run/nologin , which removed the need to log in hence no authentication error. However What I described above is clearly a bug referenced by others and should be looked into - it isn't secure to have to disable login...

Revision history for this message
Bernard Stafford (bernard010) said (last edit ):
#3

Terminal: sudo apt-get --fix-broken install
sudo apt-get update && sudo apt upgrade -y
sudo reboot now

After reboot try log out and log in.

https://askubuntu.com/questions/1403345/authentication-required-unable-to-login-after-up-gradation-to-ubuntu-22-04

Revision history for this message
jj (reind33r) said :
#4

I've ran

sudo apt-get --fix-broken install
sudo apt-get update && sudo apt upgrade -y

and the result is this

The following packages have been kept back:
  lintian
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.

so it doesn't look like it's done anything. Also the problem described in the question you linked is not identical to mine - I was unable to switch from GUI to shell from the "locked" login screen and I was receiving different error messages as well.

Revision history for this message
Bernard Stafford (bernard010) said (last edit ):
#5

sudo apt autoremove

If you have any PPAs installed it could be conflicting with the upgrade packages.
Remove any PPAs as necessary.

Please file a bug report.
Please use apport to collect extra information for your bug report otherwise it is invalid.

Terminal: ubuntu-bug grub2
This will start apport.
https://wiki.ubuntu.com/Apport

Can you help with this problem?

Provide an answer of your own, or ask jj for more information if necessary.

To post a message you must log in.