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.

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
    
askubuntu.com/questions/132965/… –  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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.