Hello Jung,
Jung Lee wrote:
> We have 10 clustering machines and each machine has its own LCD
> display, so we can construct a multi-display (kind of tiled display).
> To display OpenSG models in these types of displays, how can everybody
> run clustering_Client and clustering_Sever application? In Tutorial
> directory, I could found 13ClusterClient.cpp and 12ClusterServer.cpp.
> For example, to run these apps we enter the following commands:
>
>> ./clustering_Server Server1 &
>> ./clustering_Server Server2 &
> ...
>> ./clustering_Client Sever1 Sever2 ...
>
> However, if we run these, each sever's result will be displayed only
> in single client computer's desktop with multiple windows, not each
> sever's LCD monitor. How could I run these applications in order to
> display each sever's result in its own monitor? I came up with the
> following commands. Is everybody using these commands or is there
> another way? I feel my method is not efficient.
> ----
> Sever:
> export DISPLAY=display1:0.0 #temporarly change displays to display
> sever's result in display1
> ./myclusterserver -geometry 300x300+200+100 -m display1
> export DISPLAY=display2:0.0
> ./myclusterserver -geometry 300x300+200+100 -m display2
> export DISPLAY=display3:0.0
> ./myclusterserver -geometry 300x300+200+100 -m display3
> export DISPLAY=display4:0.0
> ./myclusterserver -geometry 300x300+200+100 -m display4
> ...
>
> Client:
> export DISPLAY=:0.0
> ./myclusterclient -x 5 -y 5 -fdata/tie.wrl display1 display2 ... display10
> ----
as Bjoern already mentioned, normally you start the server program once
on each machine (so in total there are as many server programs running
as there are displays) that should render an image and the client
program exactly once.
The commands above look as if all the server programs run on a single
computer, only their output is sent to different machines. I'd expect
the sequence to look more like this:
ssh display1
./myclusterserver -geometry 300x300+200+100 -m display1
exit
ssh display2
./myclusterserver -geometry 300x300+200+100 -m display2
exit
etc.
and then the client as above.
Hope it helps,
Carsten
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users