Hey everyone, I'm having a pretty frustrating issue with my Linux Mint setup. I'm stuck in a password loop whenever I try to log in. I enter the correct password, the login screen flickers away for a second, and then it reappears like nothing happened.
I tried following a fix I found on the Linux Mint forums, but my system is running fine, so that didn't seem to help. I also attempted to remove the .ICEauthority and .Xauthority files, but I got a message saying they don't exist.
An update: I noticed that after the brief black screen, I see a message saying "You are in emergency mode." It suggests using commands like "journalctl -xb", "systemctl reboot", "systemctl default", or just pressing Control-D to continue.
What steps can I take to resolve this? Thanks!
3 Answers
In that case it sounds like the login process cannot access your locked-out user folders for read/write. Since you can create new user and login with that, the /home folder is not full (I am making an assumption that you have not changed any user's home directory locations or created custom, mounting scemes).
Can that locked-out user get login via terminal? (ctrl-alt-f1...f4)? If yes, then its most likely a config or permission issue.
You can check if you can start the X session by logging in via terminal and commanding 'startx'. If you get in, great. if not, you should get at least a bit more info on whats going wrong with X.
And yes, some distros are blindly moving away from traditional, well-known-good X.org to wonky wayland. i have no experience on diagnosing that.
Your display or login manager might be crashing and restarting. Check if you can access the virtual console. Pressing Ctrl+Alt+F1 takes you there. It might give you access to fix your main user or reinstall the display manager if needed.
It sounds like your display manager is having issues. First, try logging in through the console. You can access it using Alt+F1 to F6. From there, create a new user and see if you can log in with that account. Sometimes, a corrupted user profile can cause these loops.
I did try making a new user and that worked! But my original account still doesn't let me log in.

Yeah, I got into the console and created a new user that works. But my primary account is still stuck, any idea on how to fix it?