-1

My Ubuntu only allowed guest login to desktop.Once I login to System as user ,It jump to login interface again and very quick please i need a simple answer with a simple langauge

2 Answers2

0

Ok. Try this. Open a TTY by pressing Ctrl + Alt + F2. Login here and run sudo apt-get install gdm. Choose it as default when prompted and reboot.

TheWanderer
  • 19,395
  • 12
  • 50
  • 65
0

Installing GDM is one possible solution, but it's probably not the one you're looking for. Again, press [Ctrl] + [Alt] + [F1] and log on. This time, however, type

sudo chown -R username /home/username

replace usename with your username in the cases above. So if you are user john, type

sudo chown -R john /home/john

and this will make your user the owner of everything in your home folder. This is where all of the settings your computer uses are stored. Because the guest account works, I think this is probably your problem.

If that doesn't work, try again logging in to TTY1 (Ctrl+Alt+F1) then type

cd

Then type

rm -Rf ./.*

WARNING!!: THIS WILL ERASE YOUR EMAIL, FIREFOX, DESKTOP BACKGROUND, etc. SETTINGS!

While this means that you will have to re-set the background and retype your passwords in thunderbird and other network apps, it should allow you to log in. Please also note this will delete any GPG keys you may have created. If you don't know what that is, don't worry about it, it's not important in that case.

Good luck with this, usually the problem is something stupidly simple but devilishly hard to find.

JimmyC866
  • 220