Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 1996 16:37:01 +0200 (MET DST)
From:      Robert Eckardt <>
Subject:   'Invalid MIT-MAGIC-COOKIE-1 key' on 2.1.5
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help

I hope someone can help/explain the following problem/behaviour:
Since I upgraded (complete new install) my machine beta to 2.1.5-R
MIT-MAGIC-COOKIE-1 doesn't work any longer.

The situation:

The Xserver runs on beta and I added a cookie:

xauth> add beta:0 MIT-MAGIC-COOKIE-1 1234567890abcdef1234567890abcdef 
xauth> list  MIT-MAGIC-COOKIE-1  1234567890abcdef1234567890abcdef
xauth> exit
16:22 beta: /home/roberte 0% echo $DISPLAY 
16:22 beta: /home/roberte 0% xhost 
access control enabled, only authorized clients can connect

<transfer of .Xauthority to gluon>

Now I try to connect from gluon:

16:22 gluon: /u/roberte 0% echo $DISPLAY
16:22 gluon: /u/roberte 1% xhost
Xlib: connection to "" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
xhost:  unable to open display ""

I tried recompiling the kernel, but no luck.

16:22 beta: /home/roberte 0% uname -a
FreeBSD beta 2.1.5-RELEASE FreeBSD 2.1.5-RELEASE #0: Fri Sep 13 13:56:13 MET DST 1996  i386
16:22 gluon: /u/roberte 1% uname -a
FreeBSD gluon 2.1.0-RELEASE FreeBSD 2.1.0-RELEASE #0: Thu May 30 04:28:04 MET DST 1996     root@gluon:/usr/src/sys/compile/GLUON1  i386

Note, I'm running YP/NIS, with both machines bound to gluon.
I also tried different DISPLAY vars, but to no avail.
It used to work with 2.1.0-R.
All machines use MD5 PWs.
The r* programs work fine with in .rhosts

What else can I check ?


Robert Eckardt                                                     (
    Ruhr-Universitaet Bochum, Inst.f.Theor.Physik, NB6/169          )
    Universitaetsstrasse 150,   D-44780 Bochum,    Germany     ----X---8----
    Telefon: +49 234 700-3709,   Telefax: +49 234 7094-574             8
    E-Mail:                    --------8----
>>> To be successful one needs friends,                                  <<<
>>> To be very successful one needs enemies.                             <<<

Want to link to this message? Use this URL: <>