* MIT-MAGIC-COOKIE problems on Alpha
@ 1993-06-08 15:39 Mark Haidl
1993-06-08 22:35 ` Paul Tatarsky
1993-06-09 2:10 ` Norman Gaywood
0 siblings, 2 replies; 3+ messages in thread
From: Mark Haidl @ 1993-06-08 15:39 UTC (permalink / raw)
I have checked the FAQ and this isn't in it.
On the DEC Alpha running DEC OSF/1 T1.2-2 (Rev. 3) I cannot
get X programs to display on remote X-servers. They always
get a permission denied, connection refused by remote server.
If I use xhost to allow the connection it works. I have tried
this on SUN,SGI, and a Decstation(running X11R5) and on all
of them I share a common home directory with the alpha box so
accessing ~/.Xauthority should not be a problem. Has anybody
seen this?
This reminds me of the situation in Ultrix 4.2 where MIT-MAGIC-COOKIE
wasn't supported. I would assume that this is not the case under OSF1.
The man pages certainly look like standard X11R5 and talk about
MIT-MAGIC-COOKIE.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MIT-MAGIC-COOKIE problems on Alpha
1993-06-08 15:39 MIT-MAGIC-COOKIE problems on Alpha Mark Haidl
@ 1993-06-08 22:35 ` Paul Tatarsky
1993-06-09 2:10 ` Norman Gaywood
1 sibling, 0 replies; 3+ messages in thread
From: Paul Tatarsky @ 1993-06-08 22:35 UTC (permalink / raw)
Me Too in a big way. Call for Net wisdom!
I also noticed that when using the DEC value added "xdm" that puts
the Digital Logo and such on the background, doing an
decosf1> xauth list
decosf1.ucsc.edu:0 MIT-MAGIC-COOKIE-1 e1e01e5927b76d15f47768a93162c189
decosf1.ucsc.edu:0 MIT-MAGIC-COOKIE-1 e1e01e5927b76d15f47768a93162c189
9.173.191.32:0 MIT-MAGIC-COOKIE-1 e1e01e5927b76d15f47768a93162c189
decosf1/unix:0 MIT-MAGIC-COOKIE-1 e1e01e5927b76d15f47768a93162c189
Now, where the _heck_ does it get the 9.173.191.32 garbage from?
Not only is it not a valid net number, but it always is there using
the DEC xdm with DisplayManager*authorize: true in xdm-config.
It wasn't put there by me, I've checked and nuked my .Xauthority
file by hand.
I also get alot of 'Error: Can't open display: :0.0' at random while
exec'ing the users .xsession file. Go figure because once things
settle down and the window manager comes up, all further clients
connect no problem. Seen this with X11R5 from MIT under Ultrix 4.2a and
beyond, only the connection failures are not as frequent.
So, that weirded me out, so I built MIT's XDM using the OSF supplied
libraries, and it runs, does the correct xauth list:
decosf1.ucsc.edu:0 MIT-MAGIC-COOKIE-1 e1040fd33e6b43fee82d9e5289ef3019
decosf1.ucsc.edu:0 MIT-MAGIC-COOKIE-1 e1040fd33e6b43fee82d9e5289ef3019
decosf1/unix:0 MIT-MAGIC-COOKIE-1 e1040fd33e6b43fee82d9e5289ef3019
But I still get random connection failures. If the window manager
is the one that fails, it freaks out the user because it looks
like a .xsession failure.
Anyone have a fix for this? I keep blaming it on my configuration,
but don't know what I am doing wrong, or if it isn't me...
I'd rather not just run in xhost mode, too many spoofs using
window/keyboard grabbing code these days.
Paul Tatarsky email: paul@cse.ucsc.edu
UC Santa Cruz
CIS/CE Board
Technical Staff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MIT-MAGIC-COOKIE problems on Alpha
1993-06-08 15:39 MIT-MAGIC-COOKIE problems on Alpha Mark Haidl
1993-06-08 22:35 ` Paul Tatarsky
@ 1993-06-09 2:10 ` Norman Gaywood
1 sibling, 0 replies; 3+ messages in thread
From: Norman Gaywood @ 1993-06-09 2:10 UTC (permalink / raw)
haidl@mercury.cs.uregina.ca (Mark Haidl) writes:
>On the DEC Alpha running DEC OSF/1 T1.2-2 (Rev. 3) I cannot
>get X programs to display on remote X-servers. They always
>get a permission denied, connection refused by remote server.
>If I use xhost to allow the connection it works. I have tried
>this on SUN,SGI, and a Decstation(running X11R5) and on all
>of them I share a common home directory with the alpha box so
>accessing ~/.Xauthority should not be a problem. Has anybody
>seen this?
Yes I have seen this.
We have a similar setup here and it works fine. One thing that causes
the sort of problem you describe is that time may not be consistent
across all the hosts. If the time on host that creates the .Xauthority
file is a long way from the time on the host that uses the file, X will
give you a "Connection refused" message. Sorry I don't know exactly the
algorithm X uses but I do know that time differences do count.
--
Norman Gaywood. Department of Mathematics, Statistics and Computing Science.
University of New England, Armidale, NSW 2351, Australia.
Internet: norm@godel.une.edu.au, phone: +61 67 732412, fax: +61 67 733312
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1993-06-09 2:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-06-08 15:39 MIT-MAGIC-COOKIE problems on Alpha Mark Haidl
1993-06-08 22:35 ` Paul Tatarsky
1993-06-09 2:10 ` Norman Gaywood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox