Remote Install of WebSphere® Application Server on a Unix Host

Technote (FAQ)
Problem
Before installing WebSphere Application Server on a remote Unix host via a telnet session from a local Unix host or other Xwindows server, you must enable the installation graphical user interface (GUI) screens to display on the local host screen. This requires an X-windows connection from the remote host to the local host.
Solution
To determine if the local host will accept an X-windows connection from the remote host, execute the following command while logged on to the local host::
  • xhost
    You should see one of the following:
      access control enabled, only authorized clients can connect
      INET:<<hostname>> <-- Repeated for each authorized client
    or:
      access control disabled, clients can connect from any host
If the remote host is not authorized to connect, you can add it to the list of authorized clients using the following command:
  • xhost + <fully qualified hostname of the remote host>


For example:
# xhost + aixhost2.mydomain.ibm.com
aixhost2.mydomain.ibm.com being added to access control list
which can then be verified by executing:

# xhost
access control enabled, only authorized clients can connect
INET:aixhost2.mydomain.ibm.com

If you execute this command in a telnet session, you may see a message similar to the following:

# xhost: must be on local machine to enable or disable access control.
This indicates that this command is only authorized from a local console (i.e., not within a telnet session).

    Next, you must export the display so that GUI screens generated on the remote host will be displayed on the local host. To do this, execute the following command on the remote host while logged in through the telnet session from the local host:

      export DISPLAY=<fully qualified hostname of local machine>


    EXAMPLE:

    You want to install WebSphere Application Server on unixhost2 from a telnet session on unixhost1:

    At a command prompt on unixhost1:


      > xhost + unixhost2.mydomain.ibm.com
      unixhost2.mydomain.ibm.com being added to access control list
    At a command prompt on unixhost1:

      > telnet unixhost2.mydomain.ibm.com

      ... log in using appropriate userid, and password

      > export DISPLAY=unixhost1.mydomain.ibm.com:0


    To verify that a GUI screen can be displayed on the local host execute:

      > xclock

    You should see an analog clock window open on your unixhost1 screen.

    Install GUI screens generated from the WebSphere install will now be displayed on the local host display screen.












    Document Information

    Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Install
    Operating system(s): Multi-Platform
    Software version: 3.5, 4.0, 5.0, 5.1, 6.0
    Software edition: Edition Independent
    Reference #: 1141968
    IBM Group: Software Group
    Modified date: 2003-11-26