安装过程中遇到此问题的解决办法
Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
1.首先以root用户登录
#xhost +
access control disabled, clients can connect from any host
如
【xhost +异常解决办法】
在Linux下设置xhost方法步骤
第一步:用root登陆linux,启动vnc服务;
第二步:根据vnc起来的端口,设置export DISPLAY=localhost:1(1表示vnc在第一个tty上启动的)
第三步:执行xhost +,并且提示“access control disabled, clients can connect from any host”才正确。
linux下的操作日志如下:
[root@localhost ~]# vncserver
New 'localhost:1 (root)' desktop is localhost:1
Starting applications specified in /root/.vnc/xstartupLog file is /root/.vnc/localhost:1.log
[root@localhost ~]# export DISPLAY=localhost:1
可通过下图查看DISPLAY是否开通
[root@localhost ~]# xhost +
access control disabled, clients can connect from any host
2. 然后进入ORACLE
#su - oracle
#export DISPLAY=LOCALIP:0.0
# ./runInstaller