Bug#319900: ssh: xterm -e ssh -f somehost xclock fails randomly most of the time
On Thu, Jul 28, 2005 at 03:28:31PM +0200, Lucas Nussbaum wrote:
> Looks like several xauth instances are trying to access .Xauthority at
> the same time. xauth could try several times before giving up...
>
> Timo, maybe you can reassign this bug to xbase-clients ?
Ok, I'll do that. I replaced xauth with a wrapper script that does
#!/bin/sh
LOCKFILE=~/.Xauthority.lock
lockfile $LOCKFILE
echo "acquired lock $LOCKFILE at `date` on `hostname` as `whoami`" >> /tmp/xauth.log
/usr/bin/X11/xauth.real "$@"
rm -f $LOCKFILE
and now all xclocks show up correctly.
-Timo
Reply to: