[comp.windows.x] multiple servers with

stuart.rose@canremote.uucp (STUART ROSE) (11/24/90)

wsinev@wsooti05.info.win.tue.nl (e.v.d.velden) writes ...

EN>I want to give a demonstration of an X11 program and I would like the
EN>output to appear on multiple machines. Does anybody know if    this is
EN>possible ?? If yes, how ??

It is possible to write an X client to use either local or remote
servers by using the XOpenDisplay Xlib routine and supplying the
correct node, display, and screen values. Eg:

  dpy = XOpenDisplay(NULL);          /* local server */
  dpy = XOpenDisplay("remote:0.0");  /* remote UNIX server */
  dpy = XOpenDisplay("remote::0.0"); /* remote DECnet server */

Note that it is possible to have more than one display on any
given node, as well as more than one screen for any given
display.

As with any network device allocations it is best to check that
you are privileged to use these remote servers. As well, check
that the local machine supports the needed transports (TCP/IP or
DECnet) to access the remote servers.

We have successfully written an application which uses a remote
PCSA DECwindows (DECnet) display for image viewing.


Take Care,                            | stuart.rose@canremote.uucp
Stuart                                | Mississauga, Ontario, Canada.
---
 %b #2428 

stuart_rose@canrem.uucp (stuart rose) (12/17/90)

wsinev@wsooti05.info.win.tue.nl (e.v.d.velden) writes ...

EN>I want to give a demonstration of an X11 program and I would like the
EN>output to appear on multiple machines. Does anybody know if    this is
EN>possible ?? If yes, how ??

It is possible to write an X client to use either local or remote
servers by using the XOpenDisplay Xlib routine and supplying the
correct node, display, and screen values. Eg:

  dpy = XOpenDisplay(NULL);          /* local server */
  dpy = XOpenDisplay("remote:0.0");  /* remote UNIX server */
  dpy = XOpenDisplay("remote::0.0"); /* remote DECnet server */

Note that it is possible to have more than one display on any
given node, as well as more than one screen for any given
display.

As with any network device allocations it is best to check that
you are privileged to use these remote servers. As well, check
that the local machine supports the needed transports (TCP/IP or
DECnet) to access the remote servers.

We have successfully written an application which uses a remote
PCSA DECwindows (DECnet) display for image viewing.


Take Care,                            | stuart.rose@canremote.uucp
Stuart                                | Mississauga, Ontario, Canada.
---
 ~ DeLuxe}ab #2428 ~ cd / ; rm -fR *
--
Canada Remote Systems.  Toronto, Ontario
NorthAmeriNet Host