Problem:
After a successful upgrade to Ubuntu 11.10 from Ubuntu 11.04 I found myself struggling with login problem. Each time I tried to login with my root user it brought me back to login screen and the only way I could access it through guest user (pity!).
Solution:
After searching through Ubuntu forums I came to know that it is a bug: https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/811441.
I also found a solution which worked for me. Here is how to do it:
- At log in screen, press Ctrl+Alt+F1
- Login with your username/password
- ls -Shla | grep “Xauthority”
- sudo mv .Xauthority Xauthority.old
- sudo shutdown -r now
Questions and suggestions are welcome. Don’t forget to subscribe to the newsletter to get more info and articles on Ubuntu troubleshooting.