Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 1996 16:37:01 +0200 (MET DST)
From:      Robert Eckardt <roberte@mep.ruhr-uni-bochum.de>
To:        questions@freebsd.org
Subject:   'Invalid MIT-MAGIC-COOKIE-1 key' on 2.1.5
Message-ID:  <199609131437.QAA14230@gluon.mep.ruhr-uni-bochum.de>

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

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
beta.mep.ruhr-uni-bochum.de:0  MIT-MAGIC-COOKIE-1  1234567890abcdef1234567890abcdef
xauth> exit
16:22 beta: /home/roberte 0% echo $DISPLAY 
:0.0
16:22 beta: /home/roberte 0% xhost 
access control enabled, only authorized clients can connect
INET:beta.mep.ruhr-uni-bochum.de
INET:localhost
LOCAL:

<transfer of .Xauthority to gluon>

Now I try to connect from gluon:

16:22 gluon: /u/roberte 0% echo $DISPLAY
beta.mep.ruhr-uni-bochum.de:0
16:22 gluon: /u/roberte 1% xhost
Xlib: connection to "beta.mep.ruhr-uni-bochum.de:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
xhost:  unable to open display "beta.mep.ruhr-uni-bochum.de:0"

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     root@beta.mep.ruhr-uni-bochum.de:/usr/src/sys/compile/BETA1  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 beta.mep.ruhr-uni-bochum.de in .rhosts

What else can I check ?

Thanx,
Robert

-- 
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:  RobertE@MEP.Ruhr-Uni-Bochum.de                    --------8----
    URL:  http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte
>>> To be successful one needs friends,                                  <<<
>>> To be very successful one needs enemies.                             <<<



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199609131437.QAA14230>