Date: Fri, 13 Sep 1996 13:37:34 -0600 From: "Mark O'Lear" <Mark.Olear@Colorado.EDU> To: Robert Eckardt <roberte@mep.ruhr-uni-bochum.de> Cc: questions@freebsd.org Subject: Re: 'Invalid MIT-MAGIC-COOKIE-1 key' on 2.1.5 Message-ID: <3239B7FE.B3B@Colorado.EDU> References: <199609131437.QAA14230@gluon.mep.ruhr-uni-bochum.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert Eckardt wrote: > > 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. <<< I bet you aren't running xdm. If you run xdm, it sets up the xauth authorization automatically for you. If you don't, you will need to tell the X server what authentication to use (I believe that xhost is used by default). I have never done this (I always run xdm), but the following man pages mention this (using the -auth flag): Xsecurity(1), Xserver(1). Hope this helps. -- Mark O'Lear \ e-mail: Mark.Olear@Colorado.EDU University of Colorado \ phone: (303) 492-3798 Telecomm. Svcs. (CB 313) \ fax: (303) 492-5105 Boulder, CO 80309 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3239B7FE.B3B>