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?