分类: Oracle

Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.

CentOS7.4安装Oracle11GR2的时候,执行 ./runInstaller 安装时报错:

Checking Temp space: must be greater than 120 MB.   Actual 179056 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 15359 MB    Passed
Checking monitor: must be configured to display at least 256 colors    Failed <<<<
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.

Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,Continue? (y/n) [n] 

>>> Ignoring required pre-requisite failures. Continuing...
解决方法:

使用root登陆VNC窗口,打开终端:

sh-4.2# su -l root    #切换到root账号下
xhost +SI:localuser:oracle   #执行xhost
su - oracle  #切换oracle
export DISPLAY=:1   #设置DISPLAY
./runInstaller  #安装即可

相关文章

发表新评论