🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: uiuc.sun-managers
3 messages
3 total messages Started by Jack Su Tue, 22 Jan 1991 22:18
Help: X-client can't connect to OPENWINDOW 2.0 server
#1
Author: Jack Su
Date: Tue, 22 Jan 1991 22:18
26 lines
1487 bytes
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've tried starting openwindow without authorization (-noauth).
I've tried starting openwindow with -defeateventsecurity.
I've tried using xauth to extract and merge .Xauthority file.

Nothing.  The same message.

I would appreciate any help/suggestions/comments from ANYONE.


Jack Su  (j-su@uiuc.edu,  jacksu@sara.atmos.uiuc.edu)

(BTW these client programs worked before using OS 4.1 and X11R4 with
Xview).
Re: Help: X-client can't connect to OPENWINDOW 2.0 server
#2
Author: 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
Re: Help: X-client can't connect to OPENWINDOW 2.0 server
#3
Author: Jack Su
Date: Wed, 23 Jan 1991 16:03
13 lines
1102 bytes
Hi all,

I would like to thank everyone that replied.  The solution is indeed simple,
and I was an idiot.  By default, OpenWindow only enables xhost for localhost.
A quick check of the startup script for our old X11R4/XView shows 'xhost +'.  
As many of you have suggested this indeed solved the problem.  The xhost 
command may also be placed in the user's .openwin-init.  Alternatively a 
host access table may be created in /etc/X*.hosts where * is the display number.

Thanks to everyone that responded.

Jack Su
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads