Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This solution doesn't work. I'm using Guest account right now.

I was just working on VirtualBox and listening to some music with Rhythmbox when suddenly my computer became laggy, and seconds later, everything disappeared except my cursor and wallpaper. I ran terminal using CTRL+ALT+T and typed startx, sudo startx, and the last one sudo shutdown -h now. After booting up my computer again I could not login to my user account, after typing my password and hitting enter, black screen for 2 seconds, and login screen again.

share|improve this question
What happens if you boot in single user mode? (Either add 1 or single to the parameters when in GRUB). – Hennes Mar 28 '13 at 12:30
How to do that? – Nur Mar 28 '13 at 12:36… – Hennes Mar 28 '13 at 13:00
I have managed to resolve this issue without doing something with GRUB, thanks for commenting. – Nur Mar 28 '13 at 13:41
up vote 6 down vote accepted

I have solved this issue by changing the ownership of .Xauthority.

sudo chown user:user ~/.Xauthority

Change user with your username. Or you can just delete .Xauthority using nautilus if you can login to graphical session (you can install other display manager such as GDM to login, the problem lies in LightDM), or you can delete it via terminal (CTRL+ALT+F1).

rm ~/.Xauthority
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.