*BSD News Article 51472


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!transfer.stratus.com!news3.near.net!news2.near.net!xap!xap.xyplex.com!eje
From: Eric Ewanco <eje@world.std.com>
Newsgroups: comp.os.linux.misc,comp.unix.bsd.freebsd.misc
Subject: Re: Extremely low memory system
Date: 19 Sep 1995 17:35:40 GMT
Organization: XYPLEX
Lines: 37
Message-ID: <EJE.95Sep19133540@eje.xyplex.com>
References: <43a1u6$572@tuba.cit.cornell.edu> <43cakc$2j7@sixpack.wustl.edu>
	<43ft9f$50t@news.iastate.edu> <43i36v$473@park.uvsc.edu>
	<43khlt$ndt@news.iastate.edu>
NNTP-Posting-Host: eje.xyplex.com
In-reply-to: rhawkins@iastate.edu's message of 18 Sep 1995 19:35:25 GMT
Xref: euryale.cc.adfa.oz.au comp.os.linux.misc:61093 comp.unix.bsd.freebsd.misc:6303

In article <43khlt$ndt@news.iastate.edu> rhawkins@iastate.edu (Rick Hawkins) writes:

>    In article <43i36v$473@park.uvsc.edu>,
>    Terry Lambert  <terry@cs.weber.edu> wrote:
>    >rhawkins@iastate.edu (Rick Hawkins) wrote:

>    >I don't understand the "xhost over telnet" thing.  If you have an
>    >IP stack, you run X over it.  You don't run X over a telnet session
>    >in any case.

>    Our configuration for workstations requires xhost to be run before a
>    remote system can launch an xwindow.  ie, sitting at this machine &
>    telnettinbg to machineb, i would have to type "xhost machineb" on this
>    machine.  I would then telnet to machineb, and get xwindows rather than
>    "plain" windows.  attempting to run an xapp without xhost results in
>    notices that this isn't permissible.

Yes, but your telnet session really has nothing to do with your xhost or your X
app.  The xhost is executed locally, and all it does is enable connections to
be permitted from a given machine to the local X server.  It doesn't maintain
any connection with the remote host; you could just as well do "xhost +" and
then anyone could connect.  Telnet is only used to trigger the launch of the X
application; you could very well call someone on the telephone and have them
launch the X application to your machine without ever logging in remotely.  The
result would be the same -- the connection the remote X application makes to
your X server is an entirely different connection from your Telnet connection.

So xhost and telnet are really unrelated to your X session, and it's not quite
correct to speak of doing this as "xhost over telnet."

Eric
-- 

# __   __                    Eric Ewanco 
# IC | XC                 eje@world.std.com
# ---+---           Software Engineer, Xyplex Inc.
# NI | KA                  Littleton, Mass.