Re: multiple displays

New Message Reply Date view Thread view Subject view Author view

Anita Kishore (kishore++at++triavest.com)
Wed, 23 Jul 1997 10:02:45 -0700


On Jul 22, 9:05am, Tom Impelluso wrote:
> Subject: multiple displays
>
> Before the "sense" of my questions gets lost in the realm of
> hardware issues, could I re-state?
>
> I only need to run the code on one machine, and have it`
> display on two machines.
>
> Something like:
> perf-exed -display machine1:0.0 -display
remote.ucsd.edu:0.0
>
> That is all.
>
> THe machines are all connected.
>
> I know I have done this once before with an Xwindow based GUI.
> It was quite simple and invovled me not having to learn about
> harware cables, and pins, etc.
>
> The whole thing was a software issue.
>

To have your window display on one remote machine can be done as follows:

Set the environment variable DISPLAY on the machine on which the code runs as:

% setenv DISPLAY machineID:0.0

where machineID is the name of the remote machine.
On the remote machine whose name is machineID, do

% xhost +

which will allow access to all machines to open windows on it. You can also
give the above command followd by the accessing machine name to let only that
machine access it.

Now if you run your program on the first machine, all windows that it opens
will be directed to the second remote machine.

Hope this helps.

-anita
kishore++at++triavest.com

-- 
Anita Kishore
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:38 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.