I upgraded from 10.10 to 12.04, and now can't log in any more. The password is correct- when I type in a wrong one, I am told it's incorrect, while the correct one is seemingly accepted, but then just takes me back to the login page. I can login as guest, but I can't do anything with the shell as it, too, doesn't accept my password.
Answer from anonymous user:
I have exactly the same problem and I fixed it by the following solution (found here):
- Press CTRL+ALT+F1
Log in with you user name and password
Run the following command:
sudo chown -R $USER:$USER $HOME
- Try to log in
Well, follow the instructions indicated here startx doesn't work
I can't gurantee though that it will work for you as well.
try to get a recovery console by using the shortcut Ctrl-Alt-F1. Check first, whether you got write-rights. If not use the option
clearto get them.
Now remove the xAuthority files
sudo rm /home/username/.Xauthority*
try to reinstall xorg by using
sudo apt-get install --reinstall xorg
now reboot with the command
sudo reboot. Everything should work fine.
I had the same problem after an analysis of the error i get when i tried startx I figured that Xserver is the origin of the problem.
I had the same problem. My understanding of the problem is as follows. It occurs if you encrypt you file system during the upgrade and you change the password.
Solution. login as guest. go to user account control. change the password of your normal user to the original password. log-off and log on with you normal user. you should be able to log n now as the file are now decrypted.
At least i worked form me.