Skip to content
Unix Server Solutions
  • Server
  • Apple
  • Database
  • Ubuntu
  • Linux

Ubuntu – Login loop, can only login as Guest. Ubuntu 12.04

12.04loginlogin-screen

My computer wont allow me to login unless its as guest.
I have pressed Ctrl+Alt+F1 and can login using my administrator account there, but not in the normal interface.
I have done updates and upgrades from the terminal, and also tried to create a new admin user, and assigned the user to the same group as the administrator account, but cant login to that user either from the normal login screen.

When I login the screen flashes black and then returns to the login screen
Is there a way to view an error log file to see what the error is that is returning me to the login screen?
How can I do this to figure out what the problem is?

I have also followed instructions on this page Ubuntu gets stuck in a login loop.

It looks like a similar problem, but the fix did not work for me 🙁

I would like to get back into my admin account and my programs but I am stuck in guest

Best Answer

I had the same problem. It seems there was some kind of problem in my ~/.profile file. Rename it to something else (so you don't loose it) and try logging in again.

This solved my problem.

Related Solutions

Ubuntu – Login Loop for Guest Account only on 16.04

While it may not be perfectly complete answer to this general query, a response to another more specific question I posted covers what I needed to know about the differences between the handling of guest accounts in 14.04 to 16.04 [ https://askubuntu.com/a/771284/534729 ]

Related Question
  • Ubuntu – Login Loop for Guest Account only on 16.04