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 #安装即可
最后更新于 2018-05-08 17:44:59 并被添加「oracle DISPLAY xdpyinfo」标签,已有 27 位童鞋阅读过。
本站使用「署名 4.0 国际」创作共享协议,可自由转载、引用,但需署名作者且注明文章出处