Copyright © Cloud Software Group, Inc. All Rights Reserved.
Copyright © Cloud Software Group, Inc. All Rights Reserved.

Appendix A Troubleshooting and FAQ : DISPLAY Variable on UNIX

DISPLAY Variable on UNIX
Why and how should I set the DISPLAY variable on UNIX platforms for GUI mode?
The installer on UNIX, must open an additional window, generally for graphics. It uses the DISPLAY environment variable to tell it on what computer to open the window. If the environment variable is not set, the installer would either wait or abort after displaying:
    InstallShield Wizard
    Initializing InstallShield Wizard...
    Preparing Java(tm) Virtual Machine...
    ...................................
    ...................................
    ........
The DISPLAY variable must be set to the IP address or name of the computer (on which the installer graphics window are to be displayed), followed by a screen address, which can be :0.0. For example:
 
# Bourne shell
DISPLAY=ip_address:0.0; export DISPLAY
 
# Korn shell
export DISPLAY=ip_address:0.0
 
# C-shell
setenv DISPLAY ip_address:0.0
For example, consider a scenario where you need to install the adapter on a remote HPUX machine (named itaska). Because you have a Solaris 5.6 machine (named alaska) that has a video card and monitor installed, you can run an X-window application on it. So you decide to use telnet to connect to itaska from alaska.
When you telnet to itaska, you would not get access to itaska's monitor and would be unable to display an X-window application. That is why you must set the DISPLAY variable, which instructs the X-server to redirect all windows to the computer set in the variable. Before doing so, the computer (specified in the DISPLAY variable) must give permissions to share its monitor.
 
alaska> xhost + # give permission for all to its share monitor
alaska> telnet itaska
Welcome to HPUX itaska 11.00
User:
Password:
itaska> export DISPLAY=alaska:0.0 # set display on alaska
itaska> TIB_designer-simple_5.0.1_h7_110.bin

Copyright © Cloud Software Group, Inc. All Rights Reserved.
Copyright © Cloud Software Group, Inc. All Rights Reserved.