Issuing the xhost + Command on UNIX Before Starting the Server
For UNIX installations only, the xhost + command must be
issued on the UNIX server console each time the server is booted up before
any ENOVIA VPM Lifecycle Navigator or 3d com WebSphere application server is started. Also,
once this is done, the window where it is issued must remain open on the
console, but it can be minimized if desired. Additionally, in the case of a
UNIX server that doesn't have a dedicated physical console installed, some
form of a remote console logon setup is required to support the xhost
+ requirement.
There is an exception to the above on AIX servers, where the optional
use of XVFB (virtual frame buffer) is supported. When this is used, and the
application server DISPLAY environment entry in the application server is
appropriately set to use it, the xhost + isn't required.
When there is a problem anywhere in the DISPLAY setup, the last entry in
the SystemOut.log file during the application server startup
will be:
[3/28/06 8:48:41:489 EST] e2cea37 SystemOut O + Registered
servlet[hcb] Asynchronous Callback Servlet for HTML
Here's an example of an AIX server containing both the hardware graphics
adapter (:0), and the XVFB (:1) capabilities setup. In this case, if the
application server is set up to use the hardware graphics adapter, the
xhost + is required, and the DISPLAY variable would be set to
<servername>:0 . However, if the application server is setup to
use the XVFB, the xhost + command isn't required, and the
DISPLAY variable would be set to <servername>:1 .
HARDWARE GRAPHICS ADAPTER
root 131168 114868 0 Mar 22 - 0:44 /usr/lpp/X11/bin/X -x abx -x
dbe -x GLX -D /usr/lib/X11//rgb -T -force :0 -auth /var/dt/A:0-A2Mlqa
XVFB
root 311462 1 0 Mar 22 - 0:00 /usr/bin/X11/X -force -vfb -x abx -x
dbe -x GLX :1
Note: The XVFB setup is an excellent solution for situations where a
hardware graphics adapter isn't available on the AIX server, or when
optimum graphics processing throughput is desired, and sufficient server
CPU and memory resources are available to support the requirements.
There is another situation on AIX servers that can lead to the
application server failing to start, as indicated above. This is where
someone has removed files from the /tmp directory, including
the /tmp/.X11-unix directory. This directory is required for
graphics processing, and in the case of the above server setup, it contains
sub-directories for both the hardware graphics adapter (X0), and the XVFB
(X1) as listed below. Once removed, graphics processing will fail until the
server is rebooted.
# pwd
/tmp/.X11-unix
# ls
X0 X1
|