Subject: RE: Display here.
To: NetBSD User's Discussion List <netbsd-users@netbsd.org>
From: Steven Grunza <grunza@ulticom.com>
List: netbsd-users
Date: 10/12/1999 10:47:06
The command

		xhost +

will allow all X11 clients to display on your desktop.  The command

		xhost +the_one_i_want

will allow the machine with an IP address that resolves to
the_one_i_want to display X11 apps on your desktop.

grunza@hw-ss1%(1) xhost +
access control disabled, clients can connect from any host
xhost:  must be on local machine to enable or disable access control.
grunza@hw-ss1%(2)
grunza@hw-ss1%(2)
grunza@hw-ss1%(2) uname -a
NetBSD hw-ss1 1.4 NetBSD 1.4 (HW-SS1) #2: Mon Jun  7 12:28:48 EDT 1999
root@hw-ss1:/usr/src/sys/arch/sparc/compile/HW-SS1 sparc

The error message is caused by my setup.  HW-SS1 is a headless
SPARCserver so I'm telnetted to it.




> -----Original Message-----
> From: port-i386-owner@netbsd.org [mailto:port-i386-owner@netbsd.org]On
> Behalf Of Greg A. Woods
> Sent: Tuesday, October 12, 1999 12:53 AM
> To: jeisch@boku.net; port-i386@netbsd.org; NetBSD User's
> Discussion List
> Subject: Re: Display here.
>
>
> [ On Monday, October 11, 1999 at 12:22:51 (+0900), Ken Nakata wrote: ]
> > Subject: Re: Display here.
> >
> > On Sun, 10 Oct 1999 22:00:47 -0500, Jonathan Eisch
> <jeisch@boku.net> wrote:
> > >
> > > How do I get netbsd 1.4.1 to allow programs run on
> another computer on
> > > my lan to display on my desktop.  For instance, I telnet
> onto my Solaris
> > > system, and type 'DISPLAY=206.197.X.X:0.0' 'export DISPLAY' where
> > > 206.197.X.X is the IP of my NetBSD system, and then run a
> program, like
> > > StarOffice, or anything.  I get the following error:
> > > Xlib: connection to "206.197.X.X:0.0" refused by server
> > > Xlib: Client is not authorized to connect to Server
> > >
> > > What do you make of it?  Can anyone help me?
> >
> > "man xhost"?
>
> or perhaps even better, "man xauth"?
>
> --
> 							Greg A. Woods
>
> +1 416 218-0098      VE3TCP      <gwoods@acm.org>
> <robohack!woods>
> Planix, Inc. <woods@planix.com>; Secrets of the Weird
> <woods@weird.com>
>