QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Redirecting PhinX Output to a Linux System |
Ref. No. |
QNX.000010181 |
Category(ies) |
Video, Utilities, Development, Configuration |
Issue |
How would I redirect the output of PhinX back to a Linux box? x09x09x09x09
|
Solution |
The same way you export any X application -- either you set the DISPLAY environment variable or you use the "-display " command line option.
Display in general is used like the following "host:server[.screen]", and is usually something like "10.0.0.1:0.0" or "myhost.mynet:0.0".
Also You'll need a Photon session running on the QNX node, and you probably don't want it to be the "general" photon session that actually controls the display on that node. So, you'll want to start Photon seperately, then start phinx. You can use a little script that does something like this:
nohup Photon -N/dev/phinx & nohup phinx -display linuxhost.localnet:0.0 -n/dev/phinx &
If you want mulitple users to be able to do this then each would have to start their Photon sessions with a different name. You would do something like the following:
Bob's shell script: nohup Photon -N/dev/phbob & nohup phinx -display bobhost.localnet:0.0 -n/dev/phbob & Joe's shell script: nohup Photon -N/dev/phjoe & nohup phinx -display joehost.localnet:0.0 -n/dev/phjoe & |
|