Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ubuntu 12.04 is installed on my laptop. It was working fine from last 3 years suddenly from last few days, whenever I wanna login into admin account it logs and log out immediately.

I can login using guest account with GUI. I can log in in admin account in CUI but not in GUI. Even if I create any admin account it does the same.

share|improve this question
When you say CUI do you mean a TTY? – Lucio Mar 6 '13 at 16:05
Did you change your .profile file a few days back? If yes and you remember what changes you did, revert back and try again. – i08in Mar 6 '13 at 16:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.