My System is Samsung R580 and I am having a problem logging in to Ubuntu 14.04.02 LTS.
Yesterday, I ran sudo apt-get update
and apt-get upgrade
, and have not been able to log into my admin
account since. Once I put in my password and press enter, the computer displays the Ubuntu wallpaper, and nothing else. No icons, nothing. But the guest account works fine. I've tried reinstalling GDM
and Lightdm
, Nvidia-Prime
and Nvidia-current
.
Also tried resetting Unity with Unity Tweak Tool, but still does not work. I have been using Ubuntu for a few months, so I am not yet that familiar with the way this OS works. If someone can please help me fix this, that'd be awesome, since all my stuff for school is on this computer.
Best Answer
Warning: Take your time reading this first sentence:
Before typing the following keystroke, remember that Ctrl+Alt+F7 is your friend. This is the keystroke to type to get back to where you are right now. (probably your guest session) OK? Remember? Sure?
OK! Now press Ctrl+Alt+F1 to go to TTY1, which is a full screen terminal (and only a terminal: no mouse, no dash, no nothing). Try to log in there.
It does show your user name when you type it after the
login:
prompt, but does not show anything when you type your password! Oh, and you have to type Enter after you typed your user name and before it shows you the password prompt.Now type the following commands: (assuming
user
is your old user name)and follow the instructions on-screen. If you're not on a US keyboard, don't use any "special" characters like £ à ŷ ü nor any numbers unless they're from your keypad.
Now type the following commands:
(If any of the above gives an error like
group not found
, don't worry: I'm trying to be thorough)Now, log out of the guest session and log in as "user2" and come back here to this site
Ah you're back! ;-) Please test now if you still have your problem... No? OK!
Now,
/home/user
directory/home/user2/Downloads
/home/user/Downloads
deluser user --remove-home
Done!