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.

I recently upgraded to 12.04 from 11.10 and since upgrading have been unable to login to my user profile. The upgrade went okay and I can login to a guest session fine but whenever I try to login to my profile, after entering my password, I just return to the login screen. I've changed my password in Root (passwd 'username')and can log in to tty1 with no issues, it's just in GUI I'm having problems.

I'm using a HP dv7 laptop, 32 bit Ubuntu install, Intel® Core™2 Duo CPU P7350 @ 2.00GHz × 2, Nvidia graphics.

Any help would be appreciated.

share|improve this question
add comment

2 Answers

Try these solutions:

From your cli remove the .Xauthority file. Some people have reported that they also needed to remove the .xsession-errors files.

sudo rm .Xauthority
sudo rm .xsession-errors*

Finally some people have reported that ownership and permissions on their home folders were set incorrect. Not sure if this will help but it's worth checking:

ls -l /home

you may have to give ownership back to your account using chown

sudo chown -R username:group /home/username
share|improve this answer
add comment

These are all valid questions from the other thread, you haven't answered them yet.

  • Switch to the text console [Ctrl][Alt][F1]
  • Login with your username / password
  • Check for errors, write them down word for word. Did you enter your home directory?
  • Check the output for ls -l /home. Does it say drwx at the start of the line, notice especially the w?
  • Check for nearly full filesystems df -h
  • Type exit
  • Switch to the graphics console [Ctrl][Alt][F7]
  • If you had any errors on the text console, add them to your question.
share|improve this answer
add comment

protected by Community Jul 18 '12 at 19:19

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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