Today when i try to login to my ubuntu main user(not guest),Emad Helmi,after i typed my password it logged in and immediately logged out back to the login page, i try several times,but the same result,finally i hit ctrl + alt + F6 and then typed emadhelmi and the my password after that i run this code, without and chaging directory:

sudo rm -v .Xauthority

and after that:

sudo service lightdm restart

i tried again to logging in to my account but the same problem.How can i fixed it?

  • Do you have another account? Does it respond the same way? If not make one and tell us what happens. – Jason Oct 22 '15 at 20:35
  • @JaredRosenberg : no, in the login start page of ubuntu it has 2option guest and Emad Helmi, the guest is correct and works fine(now, i am typing there-from the guest user)but Emad Helmi immediately after logging in, logging out! – Emad Helmi Oct 22 '15 at 20:40
  • Look inside ~/.xsession-errors. Please upload the output to paste.ubuntu.com. (see this Q/A if you're not sure how to do that from the command-line). Please also edit your question with the output of ls -ld /tmp. Take a look through: askubuntu.com/questions/223501/…, it offers most of this advice. – Seth Oct 22 '15 at 21:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.