Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

Your Answer


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.