Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Help with Xlib / X Toolkit error ?
@ 1996-04-09  4:00 n.g.travers
  1996-04-09  4:00 ` Dwight Tovey
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: n.g.travers @ 1996-04-09  4:00 UTC (permalink / raw)


Hi

I'm running ARC/INFO (a Geographic Information Systems package) on a 
DEC Alpha 3000 workstation.  When I try to run the online help system 
for ARC/INFO , which involves loading 'Frameviewer' software, the 
following error is returned:

		Xlib: connection to ":0.0" refused by server
		Xlib: Client is not authorized to connect to server
		X Toolkit error: can't open display

Any help is greatly appreciated

Thanks

Neill



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Help with Xlib / X Toolkit error ?
  1996-04-09  4:00 Help with Xlib / X Toolkit error ? n.g.travers
@ 1996-04-09  4:00 ` Dwight Tovey
  1996-04-13  4:00 ` Erik W. Anderson
  1996-04-23  4:00 ` Gary Barber
  2 siblings, 0 replies; 5+ messages in thread
From: Dwight Tovey @ 1996-04-09  4:00 UTC (permalink / raw)


In article <4ke09r$79s_004@salford.ac.uk>, n.g.travers@civils.salford.ac.uk writes:
|> Hi
|> 
|> I'm running ARC/INFO (a Geographic Information Systems package) on a 
|> DEC Alpha 3000 workstation.  When I try to run the online help system 
|> for ARC/INFO , which involves loading 'Frameviewer' software, the 
|> following error is returned:
|> 
|> 		Xlib: connection to ":0.0" refused by server
|> 		Xlib: Client is not authorized to connect to server
|> 		X Toolkit error: can't open display
|> 
|> Any help is greatly appreciated
|> 
|> Thanks
|> 
|> Neill

This looks like you are trying to launch an app on one system and have it display on
another system - possibly an Xstation or a PC with an X server?  At any rate, the
system that is trying to run the Frameviewer program is not authorized to connect to
your server.  Try running the command 

xhost <hostname>

on your server system where <hostname> is the host that the Frameviewer runs on, not
your Xserver system.  If this fixes the problem you can make it permanent by adding
the host name to the file /etc/X0.hosts or whatever the equivalent is on your
system. 
Good Luck
	/dwight
-- 
Dwight N. Tovey              H&W Computer Systems, Inc.
Software Specialist III      12438 W. Bridger St.  Suite 100
   dwight@hwcs.com           Boise, ID.  83713
or dwight@micron.net         (208)377-0336
I didn't claw my way to the top of the food chain to eat vegetables!!
 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Help with Xlib / X Toolkit error ?
  1996-04-09  4:00 Help with Xlib / X Toolkit error ? n.g.travers
  1996-04-09  4:00 ` Dwight Tovey
@ 1996-04-13  4:00 ` Erik W. Anderson
  1996-04-14  4:00   ` dsemon
  1996-04-23  4:00 ` Gary Barber
  2 siblings, 1 reply; 5+ messages in thread
From: Erik W. Anderson @ 1996-04-13  4:00 UTC (permalink / raw)
  To: n.g.travers; +Cc: eanders

n.g.travers@civils.salford.ac.uk wrote:
> I'm running ARC/INFO (a Geographic Information Systems package) on a
> DEC Alpha 3000 workstation.  When I try to run the online help system
> for ARC/INFO , which involves loading 'Frameviewer' software, the
> following error is returned:
> 
>                 Xlib: connection to ":0.0" refused by server
>                 Xlib: Client is not authorized to connect to server
>                 X Toolkit error: can't open display

I'm not sure about the syntax, but adding "xhost $DIPSLAY" or something
similar should do the trick. For a greater explanation, try doing a
man-page on "xhost".



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Help with Xlib / X Toolkit error ?
  1996-04-13  4:00 ` Erik W. Anderson
@ 1996-04-14  4:00   ` dsemon
  0 siblings, 0 replies; 5+ messages in thread
From: dsemon @ 1996-04-14  4:00 UTC (permalink / raw)


On Sat, 13 Apr 1996 19:37:08 -0700, "Erik W. Anderson" <eanders@olympic.net> wrote:
 >n.g.travers@civils.salford.ac.uk wrote:
 >> I'm running ARC/INFO (a Geographic Information Systems package) on a
 >> DEC Alpha 3000 workstation.  When I try to run the online help system
 >> for ARC/INFO , which involves loading 'Frameviewer' software, the
 >> following error is returned:
 >> 
 >>                 Xlib: connection to ":0.0" refused by server
 >>                 Xlib: Client is not authorized to connect to server
 >>                 X Toolkit error: can't open display
 >

xhost +
Not a good permanent solution. see xauth.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Help with Xlib / X Toolkit error ?
  1996-04-09  4:00 Help with Xlib / X Toolkit error ? n.g.travers
  1996-04-09  4:00 ` Dwight Tovey
  1996-04-13  4:00 ` Erik W. Anderson
@ 1996-04-23  4:00 ` Gary Barber
  2 siblings, 0 replies; 5+ messages in thread
From: Gary Barber @ 1996-04-23  4:00 UTC (permalink / raw)
  To: n.g.travers

n.g.travers@civils.salford.ac.uk wrote:
> 
> Hi
> 
> I'm running ARC/INFO (a Geographic Information Systems package) on a
> DEC Alpha 3000 workstation.  When I try to run the online help system
> for ARC/INFO , which involves loading 'Frameviewer' software, the
> following error is returned:
> 
>                 Xlib: connection to ":0.0" refused by server
>                 Xlib: Client is not authorized to connect to server
>                 X Toolkit error: can't open display
> 

1) In your xterm, check your 'DISPLAY' envoirnment variable ( env
DISPLAY). Set it to the hostname of your machine.I.E if your machine is
called 'kaspar' type
	'setenv DISPLAY kaspar:0.0' ( for the c shell
  or 
	'export DISPLAY=kaspar:0.0' ( for Bash, Bourne shell
2) In your xterm type 'xhost kaspar', load your application and you
should be sorted........

> Any help is greatly appreciated
> 
> Thanks
> 
> Neill

-- 
Gary Barber         	       T I Software 
"No gods, No masters"         
-------------------------------------------------
My ideas and views are mine and not my employers.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1996-04-23  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-09  4:00 Help with Xlib / X Toolkit error ? n.g.travers
1996-04-09  4:00 ` Dwight Tovey
1996-04-13  4:00 ` Erik W. Anderson
1996-04-14  4:00   ` dsemon
1996-04-23  4:00 ` Gary Barber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox