🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: uiuc.sun-managers
Article #2

Re: Help: X-client can't connect to OPENWINDOW 2.0 server

#2
From: Anthony Murdoch
Date: Wed, 23 Jan 1991 10:47
36 lines
1883 bytes
jacksu@sara.atmos.uiuc.edu (Jack Su) writes:


>Hi sun / X experts:

>I've just upgraded our SUN SPARCs to OS 4.1.1.  When I run
>openwindow, I can not have X-clients display in OpenWindow.
>I've tried this with other suns running openwindow, X11R4 on HP 9000,
>and X11R4 on a Cray.  There must be something SIMPLE that I stupidly am
>forgetting.  I keep getting the following message>

>Xlib:  connection to "sara.atmos.uiuc.edu:0.0" refused by server
>Xlib:  Client is not authorized to connect to server

I was confused by this for a while.

	1> You must do an xhost +machine
	for each machine that you want to run clients on.
	2> You must run the xhost as the user that is logged in on the
	console (I do it from within .xinit)
	3> I think the user-id running the clients must be the same as the
	user-id logged in on the console of the workstation.

I think that 2 and 3 are only needed if you are running with the authority
checking.

I might add that I also think that this is one hell of a pain, esp when you
think that NeWS has its own set of authority stuff as well :-)

ant

-- 
  V   ant                       "It's great to be young and insane"
 \o/  ant@brolga.cc.uq.oz.au                    - Dream Team
 -O-  Anthony Murdoch           Prentice Computer Centre
 /0\  Phone (07) 36 54078       University of Qld
Technical Details
Message-ID: <1991Jan23.104753.14383@brolga.cc.uq.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!usc!julius.cs.uiuc.edu!rpi!batcomputer!munnari.oz.au!brolga!ant
References: <1991Jan22.221806.21713@ux1.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!usc!julius.cs.uiuc.edu!rpi!batcomputer!munnari.oz.au!brolga!ant
From: ant@brolga.cc.uq.oz.au (Anthony Murdoch)
Newsgroups: uiuc.sun-managers,comp.windows.x,comp.windows.news
Subject: Re: Help: X-client can't connect to OPENWINDOW 2.0 server
Message-ID: <1991Jan23.104753.14383@brolga.cc.uq.oz.au>
Date: 23 Jan 91 10:47:53 GMT
References: <1991Jan22.221806.21713@ux1.cso.uiuc.edu>
Organization: Prentice Computer Centre, The University of Queensland, Australia.
Lines: 36