Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I try to log into my user profile, the screen turns black and then just returns to the log-in menu.

What to do?

Schould I "repair" Ubuntu. If yes, how is it done?

I can't choose to "repair" like in Windows when I boot up with the Ubuntu installation USB I got.

share|improve this question

1 Answer 1

Got the problem, found the answer :

  • Log into your account using a terminal, which you can reach using Ctrl + Alt + F2.
  • Look at the permissions for your .Xauthority file, using ls -la ~/.Xauthority.

It needs to be readable and writeable by your user :

-rw------- 1 you yourgroup .Xauthority

(usually, group and user are the same for regular users)

If your permissions are invalid, you can apply a fix by doing :

chown you:yourgroup ~/.Xauthority
chmod 600 ~/.Xauthority
  • Then go back to your display manager with Ctrl + Alt + F7, and try again !

  • If it still fails, have a look a your X11 logs, and share : cat /var/log/Xorg.log.0 | tail -n50

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.