1. 程式人生 > >Linux虛擬機安裝應用程序提示Graphical installers are not supported by the vm

Linux虛擬機安裝應用程序提示Graphical installers are not supported by the vm

system linux安裝 library 虛擬 when for mis clas bstr

Linux安裝應用程序提示Graphical installers are not supported by the vm

Technote (troubleshooting)


Problem(Abstract)

Attempts to install IBM Security AppScan Source on Linux results in the message "Graphical installers are not supported by the vm".

Symptom

When installing AppScan Source Edition on Linux, you receive the following message:


Graphical installers are not supported by the vm
Attempts to continue with the installation in Console mode fail with the following error because the AppScan Source installer does not support Console mode installs:
Installer User Interface Mode Not Supported

Cause

This problem can occur for the following reasons:

  • The file /usr/lib/libstdc++.so.5.0.7 or later is not installed on the system.
  • The $DISPLAY environment variable is not properly set.
  • The necessary X Windows libraries for running the GUI installer are not available.

Resolving the problem

The solutions below relate to the causes above:

  1. Install libstdc++.so.5.0.7 or later.
    See the AppScan Source Edition release notes, which are included in the docs directory of the installation files for information on installing this library.
  2. Set your $DISPLAY environment variable to a valid display.

If you are on a 64-bit RHEL machine, you will also need to do the following:

  1. Install the missing 32-bit dependencies via the following command:
    yum -y install libX11.i686 libXtst.i686 gtk2.i686 glibc.i686 libgcc.i686 webkitgtk.i686
  2. Run the installation process with the system‘s default 64-bit JRE:
    ./setup.bin LAX_VM /usr/bin/java

If after performing the steps above the issue still persist, this may be variation of the issue where the issue is the uninstaller is unable to open the display. To validate that issue is due to lack of access to the display, launch the installer without sudo. If the installer displays as the user this is an access issue to the display. If VNC was used to connect to the server, then the following command will need to be ran:

xhost + localhost

If physically present at the server or if ssh was used to connect to the server use the following command:

sudo -E ./setup.bin LAX_VM /usr/bin/java

提示:執行完命令重啟系統

Linux虛擬機安裝應用程序提示Graphical installers are not supported by the vm