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.
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21141968