Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Actually my touchpad was not working, so I installed and uninstalled some packages and I did not know what they were. Now I am now getting a login screen and after typing password, it is coming back to the login screen again and again. Help me to solve this problem.

share|improve this question
    
Did you try logging into the Guest account? –  Dharmaputhiran Aug 16 '13 at 13:35
add comment

1 Answer 1

Check the permissions of your X11 related files, in your home directory. They should belong to you completely.

Use a virtual terminal (CtrlAltF2 /3/4/5/...) to login, and make sure your ~/.Xauthority file has a you:yourgroup ownership. You can use the following command once logged-in :

ls ~/.Xauthority -l

If the permissions are incorrect, use :

sudo chown you:yourgroup ~/.Xauthority

(you must be a sudoer)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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