So some of you may or may not remember my post on October 13th, 2011 about the launch of Ubuntu’s latest release codename – Oneiric Ocelot. If you know me well, you would also know that I’d be on the list from the first day to download and install and fresh copy. Then usually I post a review within the first day of it’s release.
This time I have been so busy, that it was almost impossible, for me to get it done, all in one shot. So instead of going down path and do my traditional, download, wipe, clean and install, I chose to do things a bit different. I decided to do an upgrade installation, live from the Internet. Now I have been using Ubuntu for a long time, since 2005, version 5.04 (Warty) and one of the most painful and disastrous thing I’ve done is Online Upgrades.
I had always blame my failure of bad or lack thereof a proper Internet Connection. The one’s I had would have take, literally, days to complete an upgrade. But now, I have high speed, a whopping 24Mbps download, what could possibly go wrong?
So the weekend came, I went to sleep, and put my laptop to upgrade, the estimated time, about 3 hours. Got up about 7 hours, later and it was done. Ah! a fresh new install of Ubuntu, about to explore the possibilities, when I am greeted with an issue.
The issue: Ubuntu boot up the the Desktop Login Screen, accepts my username and password, but would not log me in. Instead it would just return to the Login Screen, in a constant loop.
The fix: Due to the large pile of awaiting things to be done, I decided that it would have been wasteful to just stick it out. I decided, the alternative, would be to switch back to my Windows 7 installation, and use that for a while. Painfully, but nevertheless I did. Until one day i need to get some serious work done, and couldn’t wait on Windows to stop acting up or sucking up resources, I decided to look into fixing my Ubuntu.
The Solution: Sometimes the biggest problems has very simple solutions. After doing some research online, this is what I came up with as a fix for the issue.
- Boot up the the Login Manager
- Switch to Virtual Terminal (Shell) by pressing Ctrl + Alt + F1 key combination
- Login to your user account. [Ensure user account has root or sudo privledges]
- Delete or Rename the .Xauthority file in your home directory :- $sudo rm ~/.Xauthority
- You may be prompted for a sudo password if you are a sudo user. Enter your password.
- Once, you are done, switch back to your desktop by using Ctrl+Alt+F7 key combination
- Login, and Happy Tuxing!
[Note:] A common issue may arise, based on your privileges or file permission.

