[NTLUG:Discuss] xhost question
Steve Baker
sjbaker1 at airmail.net
Sun Oct 6 09:59:33 CDT 2002
Fred James wrote:
> On the client: "xhost +" adds the following line to the "xhost" list
> display:
> access control disabled, clients cannot connect from any host
>
> On the client: "xhost -" adds the following line to the "xhost" list
> display:
> access control enabled, only authorized clients can connect
>
> This seems backwards from the description in the man(ual) pages, but in
> either case it has no effect on the outcome.
That *is* strange.
xhost +
on my Linux box says:
access control disabled, clients can connect from any host
^^^
not 'cannot'
The first part "access control disabled" sounds rather odd - but it is
correct, the *controls* on access to your machine have been disabled - so
there are now no controls and so anyone can connect.
Are you sure you typed the second half correctly in your email?
I've never heard of an xhost that said what you say yours did.
> Once telnet'd to the SGI machine, the "xhost" comman in any of the
> following forms returns "xhost: unable to open display "10.50.3.60:0.0"
> xhost
> xhost +10.50.3.60
> xhost -10.50.3.60
> xhost +
> xhost -
Wooaahhh, you have to run those commands on the LINUX machine - not the
IRIX box! xhost changes the permissions of whichever display is set in
the DISPLAY environment variable - so presumably you'd set DISPLAY to point
at the Linux box and then ran xhost.
You need to have DISPLAY set to :0 on the Linux machine, then run 'xhost +'
on the Linux machine, then telnet over to the SGI machine, then set the
DISPLAY variable to point at the Linux box, then run xclock (or whatever).
DO NOT set DISPLAY to anything other than :0 on the Linux machine - and
running xhost on the IRIX machine isn't going to do anything very interesting
in this context.
----------------------------- Steve Baker -------------------------------
Mail : <sjbaker1 at airmail.net> WorkMail: <sjbaker at link.com>
URLs : http://www.sjbaker.org
http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net
http://prettypoly.sf.net http://freeglut.sf.net
http://toobular.sf.net http://lodestone.sf.net
More information about the Discuss
mailing list