pop-os / cosmic

GNOME Shell extension. See cosmic-epoch for COSMIC Epoch
GNU General Public License v3.0
1.27k stars 47 forks source link

Can't login after Standby: Authentication failed message (Fedora 40) #437

Open funder7 opened 2 months ago

funder7 commented 2 months ago

Hi, I just installed a fresh Fedora 40 on a new PC, and decided to try Cosmic as I like how it is. I didn't notice any particular issue until now, except for the login not working after returning from standby.

I've read this line on the website:

COSMIC greeter won't log into a session, it just panics: https://github.com/pop-os/cosmic-greeter/issues/35 (This is why SELinux has to be disabled)

Well, it doesn't seem to panic on my sys, I only see an "Authentication failed" message on the login modal (words may differ a little). There are no username and password fields, nor a confirm button. The only way to login is to reboot and avoid sending the pc into standby.

Journalctl output

Error linked to "Authentication failed message":

set 10 21:45:50 my.host systemd-cryptsetup[707]: Failed to activate with specified passphrase. (Passphrase incorrect?)

Notice the timestamp: now it's 21:36, so that it's in the future. I don't know if that depends on my system, anyway it's there.

After reboot I get these errors (but I can login):

set 10 19:46:56 my.host gdm-password][2897]: gkr-pam: unable to locate daemon control file
set 10 19:46:56 my.host systemd[2910]: Failed to start app-gnome-xdg\x2duser\x2ddirs-3161.scope - Application launched by gnome-session-binary.
set 10 19:58:02 my.host (sd-pam)[8423]: pam_systemd(login:session): Failed to release session: Access denied
set 10 19:58:02 my.host (sd-pam)[8510]: pam_systemd(login:session): Failed to release session: Access denied
set 10 19:59:35 my.host gdm-password][9624]: gkr-pam: unable to locate daemon control file

These are other errors I've found not related to the auth process IMO (if you want I can open another issue for them):

set 10 19:46:53 my.host useradd[2877]: shadow: unknown configuration item 'PASS_MIN_LEN' in '/etc/login.defs'
set 10 19:46:53 my.host useradd[2877]: shadow: unknown configuration item 'PASS_CHANGE_TRIES' in '/etc/login.defs'
set 10 19:46:53 my.host useradd[2877]: shadow: unknown configuration item 'PASS_ALWAYS_WARN' in '/etc/login.defs'
set 10 19:46:53 my.host useradd[2877]: shadow: unknown configuration item 'HMAC_CRYPTO_ALGO' in '/etc/login.defs'
set 10 19:46:53 my.host chpasswd[2887]: shadow: unknown configuration item 'PASS_MIN_LEN' in '/etc/login.defs'
set 10 19:46:53 my.host chpasswd[2887]: shadow: unknown configuration item 'PASS_CHANGE_TRIES' in '/etc/login.defs'
set 10 19:46:53 my.host chpasswd[2887]: shadow: unknown configuration item 'PASS_ALWAYS_WARN' in '/etc/login.defs'
set 10 19:46:53 my.host chpasswd[2887]: shadow: unknown configuration item 'HMAC_CRYPTO_ALGO' in '/etc/login.defs'

Please let me know if there is something I can try to fix this, I'd like to continue to use Cosmic if possible. Cheers

lauretano commented 2 months ago

yep this isn't the issue from 35, but it is #126 --this comment has a workaround you could use for now

pchest commented 2 months ago

I'm experiencing the same issue with Fedora 40 on a Dell 7320 Latitude laptop.

20240912_101345