I can't log in although i typed the correct password on Arch Linux


I changed my password in boot " " or “abcd”
But it still can’t be log in
Help me guys im new…

I dont understand… what command did you use to change the password?

1 Like

Sorry uh

I followed this turtorial to change my usr password

1 Like

That should be OK. You must have made a mistake.
What I would do is change the password again.

1 Like

I changed password again but it still “sign in failed”…
I set the password is “s” in case wrong keyboard input but it still error…

Can you go to another tty with CTRL+ALT+F1-12 where you could login with your user name and password or with root + root’s password? If you can login without the graphical login in tty just add a new user and give it password and access to wheel group.

If you need help with anything I wrote, just ask. Sorry, you’re using Arch so I assume you know what to do😀

2 Likes

Can you boot to a usb with linux on ?

If so cooy your important files to an external disk
Then re install your system fresh from the usb

May help

1 Like

It seems your login manager is faulty or maybe the login daemon is not running.
You need to do what @ihasama said… bypass the login manager and login at a console as root.

1 Like

Hm my ctrl+alt+f4 did nothing :smiling_face_with_tear:

Yes i can install again

1 Like

Please keep us posted on how you get on

hm I tried to press CTRL+ALT+F1-12 to open terminal but nothing happened @@
I guess I need to boot a new linux system

1 Like

HMM… just boot to a live USB Linux and chroot to your Arch and add a new user with an easy password and give the user sudo/wheel group access. Then try to boot to Arch and use the new user+password. If you can then login you can remove old user you had and make a new “real” user with good password and then reboot to the real user and remove the latest user. Then you should have a user who can login and has sudo access.

2 Likes

Some keyboards require you to press FN key first…

and I HATE it…

But - FN+CTRL+ALT+F1…2…3…4…5…6

might be what you need to do… Yeah - it’s a right PITA having to hold press up to FOUR keys!

Or maybe CTRL+ALT+FN+F1-6…

2 Likes

You can also type ‘e’ at grub boot and add world ‘single’ to the line which says what is your kernel. It should boot to command line

2 Likes

I thought e to get into grub

Or tab key

But once running ctrl T
Or
Alt t for terminal

It may be. Can’t remember for sure. But point is to edit the boot process at grub stage to boot to tty.

2 Likes

I don’t know your version of Linux if is different for grub entry

Grub is the same in all linuxes
When you are on an item in the grub menu, if you type ‘e’ you get an editor showing the grub commands that will execute if you chose that item . You can use the editor to temporarily alter the commands, eg to add a kernel boot parameter to the ‘linux’ line, as @ihasama suggested.

That is entirely different to getting a grub> prompt and entering all the grub commands by hand.

2 Likes

I have been doing it wrong all this time, i just go to grub prompt and had never found the menu. Hence I type my commands.

Thank you learned 2 things from this

Grub is universal and has a menu.

2 Likes