I hit this issue upgrading from 11.04 to 11.10 64 bit.
My fix is different than the rest.
I realized I didn't have an .Xauthority folder in my home directory, so I tried to create one. It said I didn't have permission.
It turns out that somehow my home folder was now owned by a user "1016" instead of my user "suffah", but all the recursive files and folders were still owned by "suffah".
I used "sudo chown suffah:suffah /home/suffah" which did the trick.
All. Removing .Xauthority worked for me too.
Thanks for your help.
Deleting .Xauthority and rebooting didn't work for me either.
Details posted here: http://ubuntuforums.org/showthread.php?t=1859233&page=2
What I did was
That allowed me to login in using my regular profile.Code:Alt + F2 login sudo apt-get purge gdm sudo chmod 777 .Xauthority
Hope this helps
Hi. I have tested all the options available in this thread and others, so far nothing as solved the problem.
Removed the Xauthority and after reboot (several) it does not reappear again (can't delete it again) or start the session. I say it does not reappear because I have read, in other threads, that it as reappeared after reboot.
I have the ubuntu 11.10 64b, at login I can't login with any account (mine, guest or other) but password is correct it just resets to login screen. I have access to tty.
Does anyone know how to solve this???
ps: Ubuntu works perfect as long as you don't do updates, almost every time I update, I have to come to ubuntu forums for problem solving. Someone always knows the answer and that is very helpful.