Checking monitor:must be configured to display at least 256 colors

转载地址: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
  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值