DEV Community

Starch1
Starch1

Posted on

1

Como criar .Xauthority manualmente.

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

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up