1.3.5: spurious 'connection refused'

=?ISO-8859-1?Q?Thomas_K=F6nig?= (Thomas.Koenig@ciw.uni-karlsruhe.de)
Sat, 1 Jul 1995 02:19:27 +0200 (MET DST)


I just had a spurious 'connection refused' in 1.3.5, I don't really know
where this came from.

I'm running a script which transfers xauth data via rsh, then
does an rlogin; the error message I got was:

$ pc66
rcmd: connect: mvmampc66.ciw.uni-karlsruhe.de: Connection refused

Here's my 'pc66' script:

case $DISPLAY in
"" )
;;
:[0-9]* )
xauth extract - `hostname`$DISPLAY | remsh mvmampc66 /usr/bin/X11/xauth merge -
;;
* ) xauth extract - $DISPLAY | remsh mvmampc66 /usr/bin/X11/xauth merge -
esac
exec xrlogin mvmampc66

(remsh is the HP-UX equivalent of rsh, and xrlogin is a local hack
which also sends over the DISPLAY variable).

I couldn't reproduce this; looks like a fairly rare race condition.
There was nothing in the syslog files, and there appeared to be no
ill after effects.

Running a P90, stock 1.3.5, 3c503 networking card.

-- 
Thomas Koenig, Thomas.Koenig@ciw.uni-karlsruhe.de, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.