2

When i log into ubuntu the screen goes black as it were logging in but then i am back in the login screen. I can login as guest (i should disable that). I can login via ssh. The last time i had no issues was when i used it this morning and the only unusual thing i did was shutdown via ssh (i think i wrote shutdown now) which had ubuntu hang after showing the shuting down screen for many seconds (i kind of assumed it shut down properly since the UI froze as well and it usually takes less time).

Whats the easiest way to fix this w/o reinstalling? Its a brand new install and so it probably takes me 10mins to recopy/setup everything so i may just do that

-edit- using 12.04

2

1 Answer 1

2

Try removing the file ~/.Xauthority.

To do that,

  • Press Ctrl+Alt+F1 at the login page.

  • Enter your username and password, and you'd be able to login using tty.

  • Now, delete the file:

sudo rm ~/.Xauthority
2
  • Excellent, that solved it perfectly (at least it seems to atm. i log in and see no problems)
    – user4482
    Nov 11, 2012 at 7:12
  • glad it worked!
    – green
    Nov 11, 2012 at 14:52

You must log in to answer this question.