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

After I updated to Ubuntu 14.04, I am not able to login to Ubuntu.

Whenever I enter my password, my screen flashes for a couple of seconds and goes back to the login screen. I have tried over and over again but the same thing happens.

I can't login through the guest session either - whenever I click login, the screen flashes and goes back to the login screen again.

What do I do? I'm really confused and stuck and I need to fix this problem REALLY soon!


share|improve this question
boot to recovery mode, drop to a root shell, and make sure everything in your home directory is owned by your user. If that fails, try resetting unity - askubuntu.com/questions/17610/… –  bodhi.zazen Jun 19 '14 at 22:20
@bodhi.zazen: Since it happens with guest sessions too, the problem is probably not home directory related. I would check the lightdm config files. –  Gunnar Hjalmarsson Jun 20 '14 at 1:48
How would I do this? Thanks! –  user295111 Jun 20 '14 at 4:44
you can look at the logs, but, it takes longer to debug a failed upgrade then it does to do a fresh install. Your data in /home will be preserved as long as you do NOT format yout root partition. –  bodhi.zazen Jun 20 '14 at 12:08
Thanks for the help! Fairly new to Terminal and Ubuntu. Are there any specific commands that would help me do what I need to do? –  user295111 Jun 21 '14 at 5:21

1 Answer 1

I had the same issue and solved it by correcting the ownership of the file: ~/.Xauthority. Just open a terminal and enter:

sudo chown `whoami`.`whoami` -R .Xauthority
share|improve this answer
Sorry! Didn't work. Ubuntu just crashes when I do this. Is it possible if you could answer this: askubuntu.com/questions/488144/… –  user295111 Jun 27 '14 at 6:37

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.