ITPub博客

首页 > 应用开发 > IT综合 > Checking monitor:must be configured to display at least 256 colors

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

原创 IT综合 作者:wangkxxe 时间:2009-07-01 23:51:48 0 删除 编辑

前几天在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博客 ” ,链接:https://blog.itpub.net/12801008/viewspace-1023688/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-02-25

  • 博文量
    68
  • 访问量
    110255