Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
After running once startx command in terminal i can not login as user anymore to my normal desktop. It still works as root. I am using the Mate desktop environment. Can any one help?
sudo chown username:groupname .Xauthority
You must have restarted X server as a root user and thus the file .Xauthority which was owned by the user, now got owned by root.
Try giving back the ownership as suggested.
Required, but never shown