coop@panther.cerc.wvu.wvnet.edu (Cooperate) (11/19/90)
Hi, I have a question about xhost connection if on machine B, we type xhost + A is machine A's server allowed to control machine B's display, bypassing the server on machine B ? or every access to machine B's display, from server A, should go through machine B's server ? thanks Bijan
mouse@LARRY.MCRCIM.MCGILL.EDU (11/21/90)
> if on machine B, we type xhost + A > is machine A's server allowed to control machine B's display, > bypassing the server on machine B ? or every access to machine B's > display, from server A, should go through machine B's server ? Neither. If you tell B's server "xhost +A", then what this means is that clients (not the server) running on machine A are allowed to connect to B's server and use its facilities to manipulate B's display. If this is not done, such attempts will be rejected[%]. The server running on machine A can never manipulate any display except that on machine A[$]. [%] This may not appear to be the case because it is sometimes possible to arrange that the server starts up with some other machines allowed to connect (ie, the effect is as if "xhost +machine" were run for some list of machines, normally taken from a configuration file or something of the sort). [$] Of course, A's server could act like a client and connect to B's server and send over requests like any other client. I'm ignoring this unusual possibility (I don't think any servers currently do this, but there's nothing inconsistent about the notion). der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu