On Wed 21 Jun 2023 at 21:49:54 (+0700), Max Nikulin wrote: > The ~/.Xauthority file contains *secrets*, see Xsecurity(7), so I > would not encourage people to post its content.
It's a cookie. You can just remove the file and let startx recreate it (or whatever DEs require as the equivalent). They tend to accumulate cruft anyway. (I've just noticed that my own 1038-char file has 21 cookies.) Cheers, David.