Como criar .Xauthority manualmente.

Starch1 - Jan 30 - - Dev Community

Se o arquivo .Xauthority não existe no seu diretorio home, você deve ver o seguinte erro

xauth
xauth:  file /root/.Xauthority does not exist
Using authority file /root/.Xauthority
Enter fullscreen mode Exit fullscreen mode

Criando o .Xauthority

touch ~/.Xauthority

# Gera um magic cookie aleatorio de 128 bit hex
xauth add ${HOST}:0 . $(xxd -l 16 -p /dev/urandom)
Enter fullscreen mode Exit fullscreen mode

Depois verifique o arquivo.

xauth list
Enter fullscreen mode Exit fullscreen mode
. . . . . . . . . . .
Terabox Video Player