linux - xauth not creating .Xauthority file - Super User
https://superuser.com/questions/80663703.09.2014 · # Rename the existing .Xauthority file by running the following command mv .Xauthority old.Xauthority # xauth with complain unless ~/.Xauthority exists touch ~/.Xauthority # only this one key is needed for X11 over SSH xauth generate :0 . trusted # generate our own key, xauth requires 128 bit hex encoding xauth add ${HOST}:0 . $(xxd -l 16 -p /dev/urandom) # To …