Team,
We heavily use ssh X11 forwarding. We nothing but routinely get this message on many users on the system:
/usr/bin/xauth: timeout in locking authority file /home/<username>/.Xauthority
The "bandage-fix" is to delete the users home dir (they don't really store anything there) and then recreate it and recreate the .Xauthority file in their home directory and chown it to them. chown the newly created directory to them as well.
This however is a "bandage" and not a fix. Please suggest a more permanent solution to this long outstanding issue that we have.
Nothing has been written to the Xorg logs in months, standard messages in /var/log/secure.....the environment is CentOS, ssh + X11 forwarding + Citrix, other systems have exactly the same environment and do not have this problem. Nothing in /var/log/messages.
Regards,
Kartik Vashishta
Timeout in locking .Xauthority
Re: Timeout in locking .Xauthority
[root@localhost ~]# restorecon /home/<username>