All of a sudden i am unable to login into my user account. I have activated root account and i am able to login into that root account, however i cant able to login into my user account. I am very sure it is not a password error. When i login into my user account the screen flickers and again it is showing the login screen. Some times a popup appears in the top right corner as you see below. Can anyone help me to solve this problem ? i have posted this same question in ubuntuforums also but still no solutions helped me. I hope someone here will solve this issue.
Ubuntu – Unable to login into the user account
10.04login
Best Answer
This is more a workaround than a solution, since a solution isn't possible until we know what the problem is (hence the troubleshooting questions I've asked above).
Clearly, some of your settings are corrupted. Try doing this from a console (Ctrl+Alt+F1):
After this, you should be able to log in graphically. However, these steps will destroy many of your settings (unless you restore everything from
configuration_backup
. You'll have to redo them. If you can provide more details about your situation, there might be a solution that won't destroy your settings. Or, it might be easier to just accept this workaround and simply redo your settings.If you later decide you want to restore your settings, look in the backup directory (
~/configuration_backup
) and find the name of the file or directory you want to restore. If you can't see what you want, usels -A
(command line) or Ctrl+H (Nautilus) to see the hidden files. I recommend that you first backup and delete the file/folder of the same name in your home directory. Then, copy one file/folder at a time to your home directory (e.g.,cp -a ~/configuration_backup/.config ~
), logging out and back in each time to make sure your old config files don't break your system.