Ubuntu 14.04 Login Loop Issue
Solution 1:
For me, the solution was simply running this command from tty1:
sudo rm .Xauthority
Solution 2:
I know it's been a while, but in case the problem persists, her's what I'd do. This looks a lot like a "user" specific problem, especially after the reinstall.
First of all, try to create a new user (sudo adduser "username"
) and see if that works. If it does, you have the confirmation that something in your local configuration is wrong.
Try to start with a new, fresh configuration with the following commands (after logging in with your problematic username from a tty)
mkdir ~/cfg-backups
mv ~/.config ~/cfg-backup
mv ~/.dconf ~/cfg-backup
And check if you're back in business. You can than restore any configs from the backups that you should require.
Solution 3:
In my case the following method solved the trouble
First login into tty by pressing CtrlAltF1.
Reinstall Ubuntu Desktop (i.e Unity)
sudo apt-get install --reinstall ubuntu-desktop
Some other tips are available here : ubuntu 14.04 login loop problem