Login loop (xfce)

when I enter correct password it still can't login.It just looping

As a guess - a missing home folder can cause this - but you have provided no information - so there is really not much to say.

Please see the following articles if you need help - please provide the necessary information

1 Like

stuck at the login screen, after typing my password the screen goes black for a second then I’m back at the login again.

Yup,just like this

Hi @John728,

Boot into a Live Environment, from there enter a chroot environment, and use that to be able to provide more information. I’m guessing that might also be neccessary to fix anything after diagnosing it.

How to chroot

  1. Ensure you’ve got a relatively new ISO or at least one with a still supported LTS kernel.

  2. Write/copy/dd the ISO to a USB thumb drive.

  3. When done, boot with the above mentioned USB thumb drive into the live environment.

  4. Once booted, open a terminal and enter the following command to enter the chroot environment:

manjaro-chroot -a
  1. If you have more than one Linux installation, select the correct one to use from the list provided.

When done, you should now be in the chroot environment.

But, be careful, as you’re now in an actual root environment on your computer, so any changes you make will persist after a restart.

:bangbang: Tip :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Is it the same in TTY?

CTR+ALT+F3 (for instance)
can you log in there?

If not: … what @Mirdarthos said
see where you /home/$user went —

1 Like

Yes,I can log in tty

You must have done something - this does not just happen on it’s own.

I have some ideas, but no patience to explore them here.

Someone else might speculate and help.

Yes,I can log in tty

I’ve not tried it, but perhaps you can then use useradd from the command line to add a new user and see if that user can successfully login? If it can, you know it is (probably) the original user’s config which is causing the problem.

Also, from the tty you can get system information as requested above by @linux-aarhus

You can share it from the tty without having to be able to copy-and-paste to a browser, for instance by sending the output to public sharing services:

Still looping after creating new user