Page 1 of 1

login error

Posted: 2022-06-24 03:39
by nikodavid
I try to log in and it says that the password is incorrect. I'm sure the password is correct, so it may be a keyboard configuration thing because my password contains special characters and numbers. Anyway, can you help me change the user password to be able to enter? I use Debian 11 with xfce

Re: login error

Posted: 2022-06-24 13:17
by Hallvor
Come on, man. Google it first.

https://blog.eldernode.com/reset-forgot ... -password/

Then change the user password

Code: Select all

# passwd nikodavid
... or whatever your user name is.

Re: login error

Posted: 2022-06-25 01:27
by NorthEast
Could be a login loop, which may, but may also not be resolvable by password change. I've experienced that. There were a few resolutions I've used in the past: reinstall the display manager which may be lightdm in the case of xfce; or replace the display manager with another e.g. sddm for lightdm; or change configs to avoid the display manager and boot to text prompt to start the GUI with startx or xinit with or without an .xinitrc file.

Re: login error

Posted: 2022-06-25 11:03
by p.H
nikodavid wrote: 2022-06-24 03:39 I try to log in and it says that the password is incorrect. I'm sure the password is correct,
What about the username ?
Is it a new installation or did it work before ?
nikodavid wrote: 2022-06-24 03:39 it may be a keyboard configuration thing
Type the password in the username field so that you can see it in cleartext.
nikodavid wrote: 2022-06-24 03:39 can you help me change the user password to be able to enter?
Boot in recovery mode or switch to a text console and log in as root. Then change the user password with

Code: Select all

passwd "username"
Didn't set a root password ? Bad choice.
NorthEast wrote: 2022-06-25 01:27 Could be a login loop
A login loop would not "say that the password is incorrect". It would try and fail to open the session and go back to the login screen.

Re: login error

Posted: 2022-06-26 00:57
by NorthEast
p.H wrote:
A login loop would not "say that the password is incorrect"
Thanks for that clarification.