X Server: Difference between revisions
From MediaWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This section shows one how to set the "'''X Display'''" prior to starting up your web browser (i.e. '''firefox''') to connect to the "'''NST WUI'''" for running an '''X Application'''. '''Case 1''': Connect to a probe's "'''NST WUI'''" and run an '''X Application''' on a specific '''X Server'''. The script below is an example on how to do this. | This section shows one how to set the "'''X Display'''" prior to starting up your web browser (i.e. '''firefox''') to connect to the "'''NST WUI'''" for running an '''X Application'''. '''Case 1''': Connect to a probe's "'''NST WUI'''" and run an '''X Application''' on a specific '''X Server'''. The script below is an example on how to do this. | ||
<pre class="programListing"> | |||
#! /bin/bash | |||
# | |||
PROBE_IP_ADDR="172.31.1.190"; | |||
REMOTE_IP_ADDR="172.31.1.150"; | |||
# | |||
/usr/bin/xhost +"${PROBE_IP_ADDR}"; | |||
# | |||
/usr/bin/firefox https://${PROBE_IP_ADDR}?xdisp=${REMOTE_IP_ADDR}${DISPLAY} | |||
</pre> |
Revision as of 10:39, 25 October 2007
This section shows one how to set the "X Display" prior to starting up your web browser (i.e. firefox) to connect to the "NST WUI" for running an X Application. Case 1: Connect to a probe's "NST WUI" and run an X Application on a specific X Server. The script below is an example on how to do this.
#! /bin/bash # PROBE_IP_ADDR="172.31.1.190"; REMOTE_IP_ADDR="172.31.1.150"; # /usr/bin/xhost +"${PROBE_IP_ADDR}"; # /usr/bin/firefox https://${PROBE_IP_ADDR}?xdisp=${REMOTE_IP_ADDR}${DISPLAY}