[comp.windows.x] Window Manager and multiple display connections

paul@tredysvr.Tredydev.Unisys.COM (Paul Siu) (10/04/90)

I am trying to understand X-window, but unfortunately do not have the hardware
and software yet to experiment with yet.  I am puzzled about the following
conditions while running under x-window.

1. Is it possible to have multiple display connections from different cpus from
   one X-server?  For example, can I run X-Write from cpu#1, and X-paint from
   cpu#2, but both will display on the same X-server?  If this is possible,
   would two Window Manager be running at the same time and become confused?

2. I know that it is possible to set up multiple display connection from one
   cpu to multiple X-servers.  For example, one could run X-stock, which display
   stock information 5 companies on 5 different X-server screens.  Can a window
   manager handle multiple X-servers like this?

I have Oliver Jones's Intro to X-window book.  It's informative, but doesn't
say much about the window manager.

Please E-mail any replies.  I'll post the summaries.  I thank you for any help.

mouse@LARRY.MCRCIM.MCGILL.EDU (10/04/90)

> I am trying to understand X-window, but unfortunately do not have the
> hardware and software yet to experiment with yet.  I am puzzled about
> the following conditions while running under x-window.

> 1. Is it possible to have multiple display connections from different
>    cpus from one X-server?  For example, can I run X-Write from
>    cpu#1, and X-paint from cpu#2, but both will display on the same
>    X-server?

Certainly.  This is done all the time; it's one of X's strengths.

>    If this is possible, would two Window Manager be running at the
>    same time and become confused?

No.  One window manager per display[%], not one per client machine.

[%] I'm lying slightly to keep this simple.  You can have anything from
    one WM per display (possibly even less; there's nothing
    conceptually inconsistent with a WM managing multiple displays) to
    one WM per screen.

> 2. I know that it is possible to set up multiple display connection
>    from one cpu to multiple X-servers.  For example, one could run
>    X-stock, which display stock information 5 companies on 5
>    different X-server screens.  Can a window manager handle multiple
>    X-servers like this?

None of the five window managers involved has any idea that the client
is actually displaying on five different displays.  (Five window
managers because five displays are involved.)  From the point of view
of each one of the five window managers, X-stock is a client just like
any other.  It doesn't know - and doesn't care - that the program on
the other end of the connection happens to have four other X
connections active at the same time.

> Please E-mail any replies.  I'll post the summaries.

However, you don't give a mail address.  I've taken a stab at it from
the headers, but the news->mail gateway seems to have smushed the
netnews From: and Path: lines together, and I don't trust the result.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu