Ubuntu removing user

0

I am running Ubuntu 10.04 on Virtualbox in Windows 7. I gave admin permissions to a new account and deleted my old main Ubuntu user (the one with which I installed ubuntu). I also deleted the home directory for the old admin user. I had set autologin and password less login on the old account. So now whenever the system reboots, it seems to search for the old user home. e.g. I get errors like "Could not find /home//ICEAuthority", "Nautilus could not load desktop" or something like that. I can only work with Ctrl+Alt+f1 now. I think the problwm is because of the auto login. It stills searches for the old account for auto login. How can I disable auto-login or set auto login to the new account?

Hari Menon

Posted 2010-11-05T19:10:01.750

Reputation: 153

Answers

0

sudo userdel -r [username] 

chunkyb2002

Posted 2010-11-05T19:10:01.750

Reputation: 935

I get this response: userdel: <old-user> home directory (/home/<old-user>) not found. But still same problem when i try to reboot.. – Hari Menon – 2010-11-05T19:26:36.340

Hey it worked after I shut down and turned it on again.. reboot did not work. Thanks :) – Hari Menon – 2010-11-05T19:37:50.340

No problem. Glad to help :-) – chunkyb2002 – 2010-11-06T00:44:40.527