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?
~/.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 ofls -ld /tmp
. Take a look through: http://askubuntu.com/questions/223501/ubuntu-gets-stuck-in-a-login-loop, it offers most of this advice. – Seth Oct 22 '15 at 21:47