转载地址:http://blog.itpub.net/12801008/viewspace-1023688/
(注,修改部分内容)
在虚拟机Cent os oracle 10g时出现如下错误:
Checking monitor:must be configured to display at least 256 colors
Failed <<<< >>>Could not execute auto check for display colors using command
/usr/openwin/bin/xdpyinfo. Checks if the DISPLAY variable is set.
看这个错误提示,应该是display变量没设置,但我分明是已经设定了呀,而且也在root用户下执行过xhost +。
接着又尝试将oraparam.ini中的参数MIN_DISPLAY_COLORS=256去掉,然后执行安装,但虽然跳过了这个检查,却在下一步报错:
java.lang internalerror can not connect to x11 server
后来再检查display设置,发现display设置为了$DISPLAY=192.168.137.66:0.0
但是Xmanager显示的是 [ip]:1.0
于是修改display变量值。
$DISPLAY=172.18.8.155:1.0;export DISPLAY
再次运行安装程序,果然安装界面出来了!
[@more@]Checking monitor:must be configured to display at least 256 colors