Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: Questions: mutiple servers poss.?? Message-ID: <9001131636.AA08631@expire.lcs.mit.edu> Date: 13 Jan 90 16:36:07 GMT References: <284@dino.cs.iastate.edu> Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 22 but here I want to put EACH window on a different display----choose 3 servers within one program, as it were. You haven't stated whether you are using Xlib or some toolkit. At the Xlib level, you can simply call XOpenDisplay more than once, using a different display string each time, to connect to more than one display. You'll have to invent some mechanism, like special command line options, to allow the user to specify which displays to use. If you are using an Xt-based toolkit, then you should be able to do the same sort of thing, call XtToolkitInitialize, then XtCreateApplicationContext, and then call XtOpenDisplay multiple times. For non-Xt based toolkits, you'll have to consult their documentation to see if this is possible. I'd like to have one program that actually distributes the work; are there X window primitives that support this, or does anyone know of any method to do this in UNIX (on Sun's across an Ethernet) ?? There are no X primitives for getting the processes set up and communicating. On Suns, you should try using the Sun RPC and remote execution facilities to accomplish this.