1

After I upgrades from 10.04 to 12.04 I cannot login to my main users account. Before the upgrade I had created another administrative user but had never used that account with the gui. That other user has no problems logging in. Guest, which I never used before this problem, can login without a problem. Only the main user has the problem.

At first the Xauthority file was owned by root, so it would just return to the lightdm login screen. But after researching that problem I removed that file.

Now when I enter the main user's password the gui seems to load a little. The mouse appears but all I get is a terminal, without any boarder, in the upper left corner. Only when I move the mouse into that upper left corner can I type commands. Any command works fine. When I type exit it returns to the lightdm login screen.

I tried comparing the /var/log/Xorg.0.log file after logging in with the alternate admin account and the main account but it every line starts with a different number.

The .xsession-error file had no additional help.

2
  • Look for a file called .xsession or .xinitrc in the home directory. Compare between the user that works and the user that doesn't. This file controls what runs within X. – Nattgew Apr 21 '14 at 17:42
  • Neither the .xsession nor the .xinitrc files exist. – user272036 Apr 21 '14 at 20:00
0

If you have trouble logging in, press ctrl + alt + F6 to switch to another tty. Log in as your main user.

Run sudo dpkg-reconfigure lightdm

Select [OK] and select lightdm as the default display manager.

Run sudo reboot

See if lightdm login screen loads properly now.

1
  • lightdm loads just fine. The problem is after entering the user and password. Then it starts a terminal instead of loading the full gui screen. – user272036 Apr 21 '14 at 19:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.