Open novoid opened 1 year ago
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/sometimes-i-cant-log-in-to-xfce-screenlocker-or-shell/33155/5
The issue has also been briefly described on reddit: https://www.reddit.com/r/NixOS/comments/16l5xp7/how_to_report_nix_issues/
As of now, no relevant details there.
Describe the bug
When using my system (NixOS 23.05, HM, flakes, xfce) I do have the issue that sometimes my log-in attempts are declined despite entering the password correctly.
Steps To Reproduce
Furthermore:
Then wait for minutes and re-try. Most of the time, after a while log-in is possible.
However, I also got the situation where waiting for 30min didn't solve the issue. A following hibernation + resume and further 30min waiting time didn't help either. I had to shut down + reboot in order to be able to use NixOS again.
Expected behavior
Log-in works every time as long as the correct password is entered.
Screenshots
N/A
Additional context
There's no caps lock issue because I remap caps-lock to control. Furthermore, I switched to the terminal via Alt-F1 and typed the password for testing purposes in the username field as well: all perfect.
While testing the text console, I found out that even there, I can't log in. So it's not just a xfce4 screenlocker issue.
After a while (I can't say the duration follows a pattern) I can log in without an issue. So I need to wait and re-try every minute or so. That's really annoying and a no-go for my business machine.
I've collected several outputs from "journalctl -d":
https://paste.grml.org/3628/ You have to ignore the USB messages as I was switching to a different host via my USB switcher, therefore it's a bit messy.
The failed login attempts after resuming from hibernation start with 11:31:27.
https://paste.grml.org/3629/ is much cleaner: lid closed, thus screen locked and shortly after unlock with bad luck.
12:49:46 lid was closed and opened (which locks the screen) and then login attempts were failing.
Both examples don't seem to show any log message on positive login (at the end).
https://paste.grml.org/3630/ is a NEGATIVE example: lid closing, screen lock and NO issue when entering password
My
XDG_RUNTIME_DIR
(mentioned on several pages like that) is set to "/run/user/1000". So this seems to be OK.Notify maintainers
So far, I have no clue what part of my system is causing the issue.
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.