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

前几天在solaris中安装 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的IP是solaris的IP,而不是我客户端的IP,因为我是用Xmanager连过去安装的。

于是将IP修改成我电脑的IP:

$DISPLAY=172.18.8.155:1.0;export DISPLAY

再次运行安装程序,果然安装界面出来了!

[@more@] Checking monitor:must be configured to display at least 256 colors

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12801008/viewspace-1023688/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/12801008/viewspace-1023688/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值