Timeout in locking .Xauthority

General support questions
Post Reply
kvashishta
Posts: 66
Joined: 2015/02/15 18:35:55

Timeout in locking .Xauthority

Post by kvashishta » 2015/04/08 16:50:18

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

poky
Posts: 108
Joined: 2013/03/27 12:18:03

Re: Timeout in locking .Xauthority

Post by poky » 2015/04/08 18:18:07

[root@localhost ~]# restorecon /home/<username>

Post Reply