Debian12
I usually log into Debian at the Gnome login screen by clicking on my username and then typing my password and it gives me my Gnome desktop.
However, today, after I enter my password and press `enter`, it loops back to the Gnome login screen.
I have repeated this process several times.
I have checked the `show password` widget to see that I am entering my password correctly.
Any suggestions?
~NotWorking
[O/S] Debian won't log me in
- dilberts_left_nut
- Administrator
- Posts: 5423
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 18 times
- Been thanked: 81 times
Re: [O/S] Debian won't log me in
Gor any diskspace left?
AdrianTM wrote:There's no hacker in my grandma...
Re: [O/S] Debian won't log me in
If you have a root account enabled you might be in luck:
Go into a TTY while you're at the login prompt by pressing
Input root username, and root password to login into the TTY.
enter this command to verify that your user account has a password set:
if it has an "L" next to your username its locked, if it has an "S" then its all ok.
in case of "L" enter this to unlock:
If the above is not the case, then enter this command to verify if your user account got blocked by system due to too many failed password attempts:
If it has multiple rows with your username and the "Valid" column has "V" then your account is locked due to too many failed login attempts...
Unlock it via:
When you're done press CTRL+D to safely log out / detach root from the TTY2 and go back to GUI Login screen via CTRL+ALT+F7 or F6 (cant test, but if I recall correctly Debian has the GUI login manager on F7 by default) and retry login.
If my solution helped, please don't forget to push the "Thumbs up" button, near at the left of my profile pic, and mark the topic as solved.
Go into a TTY while you're at the login prompt by pressing
Code: Select all
CTRL+ALT+F2 or F3
enter this command to verify that your user account has a password set:
Code: Select all
passwd -S yourUsername
in case of "L" enter this to unlock:
Code: Select all
usermod -U yourUsername
Code: Select all
faillock --user yourUsername
If it has multiple rows with your username and the "Valid" column has "V" then your account is locked due to too many failed login attempts...
Unlock it via:
Code: Select all
faillock --user yourUsername --reset
If my solution helped, please don't forget to push the "Thumbs up" button, near at the left of my profile pic, and mark the topic as solved.
-
- Posts: 4
- Joined: 2024-07-30 00:49
-
- Posts: 4
- Joined: 2024-07-30 00:49
Re: [O/S] Debian won't log me in
Thank you for taking the time to reply.silensys wrote: ↑2024-07-30 18:58 If you have a root account enabled you might be in luck:
Go into a TTY while you're at the login prompt by pressingInput root username, and root password to login into the TTY.Code: Select all
CTRL+ALT+F2 or F3
enter this command to verify that your user account has a password set:if it has an "L" next to your username its locked, if it has an "S" then its all ok.Code: Select all
passwd -S yourUsername
in case of "L" enter this to unlock:If the above is not the case, then enter this command to verify if your user account got blocked by system due to too many failed password attempts:Code: Select all
usermod -U yourUsername
Code: Select all
faillock --user yourUsername
If it has multiple rows with your username and the "Valid" column has "V" then your account is locked due to too many failed login attempts...
Unlock it via:When you're done press CTRL+D to safely log out / detach root from the TTY2 and go back to GUI Login screen via CTRL+ALT+F7 or F6 (cant test, but if I recall correctly Debian has the GUI login manager on F7 by default) and retry login.Code: Select all
faillock --user yourUsername --reset
If my solution helped, please don't forget to push the "Thumbs up" button, near at the left of my profile pic, and mark the topic as solved.
Code: Select all
$ passwd -S myusername
myusername P 2024-06-24 0 99999 7 -1
I have found that if I change the "type" of login to `Xorg` at the Gnome login screen (from a "Settings" pulldown list in the lower right corner), I can now login to my machine.
But if I change it back to the non-Xorg setting, it keeps returning me to the Gnome login screen.
Regards.
-
- Posts: 4
- Joined: 2024-07-30 00:49
Re: [O/S] Debian won't log me in
Well, I tried logging into the non-Xorg desktop today, and it worked.
Hopefully, this problem was fixed/rectified in the last update (I did an `apt upgrade` yesterday).
Regards.
Hopefully, this problem was fixed/rectified in the last update (I did an `apt upgrade` yesterday).
Regards.