Spectrum OneClick WebApp does not launch due to the following error: "java.awt.AWTError: Can't connect to X11 window server" in the <SPECROOT>/webtomcat/bin/logs/webswing.log file.
Release : All Supported Releases
Component : SPCOCK - Spectrum OneClick
This error is thrown when a required library file is missing in order to run the xvfb process.
Users can run the below command as root to try and manually start this process which will point to the missing file:
$ Xvfb :99 -screen 0 640x480x8 -nolisten tcp
This will generate an error similar to the below:
/usr/bin/xkbcomp: error while loading shared libraries: libxkbfile.so.1: cannot open shared object file: No such file or directory
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
(EE)
Fatal server error:
(EE) Failed to activate virtual core keyboard: 2(EE)
In the above error, the libxkbfile library will need to be installed.
A full list of required libraries and dependencies can be found in our documentation linked below:
https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/21-2/managing-client-applications/oneclick-webapp.html#concept.dita_cb52f04ad97c49b52eeb67a36a82d29869d3a316_StepstorunOneClickWebApponLinux