Ubuntu 16.04: Can’t login Desktop (infinite loop)

One day, suddenly it turned that I couldn’t login desktop even if I enter correct password. Stackoverflow said that the reason is ~/.Xauthority permisson.

$ ls -lA ~/.Xauthority
-rw------- 1 aminami aminami 51  4月 26 21:11 .Xauthority
$ chown {user_name}:{user_name} ~/.Xauthority

It solved the problem.

Leave a Reply

Your email address will not be published. Required fields are marked *