IBM Support

Remote install of WebSphere Application Server on UNIX host

Troubleshooting


Problem

Before installing WebSphere Application Server on a remote UNIX host, by way of a telnet session from a local UNIX host or other X Windows 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.

Resolving The Problem

To determine if the local host will accept an X Windows connection from the remote host, run the following command while logged on to the local host:

xhost

You should see 1 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 running the following command:

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

If you run this command in a telnet session, you might 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 (For example, 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, run 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>

For 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.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Install","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5.5;8.5;8.0;7.0;6.1;6.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21141968