/usr/bin/xauth: timeout in locking authority file

I am try to remote other computer using SSH with command :

ssh -X alice@192.168.99.110

but, the connected process is very slow and get the error message like this when connect to the server :

/usr/bin/xauth:  timeout in locking authority file /home/alice/.Xauthority

This problem showed because the SELINUX configuration. So, we need to disable this this service. We can disable SELINUX with login in the remote machine and type in console:

setenforce 0

Exit from the remote machine and try to ssh again. This method solve /usr/bin/xauth:  timeout in locking authority file problem in my computer.

Add a Comment

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