ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Linux 7.0 报错: Check if the DISPLAY variable is set. Failed

Linux 7.0 报错: Check if the DISPLAY variable is set. Failed

原创 Linux操作系统 作者:lpwebnet 时间:2017-03-10 10:05:58 0 删除 编辑
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 <<<<

 解决 要点主要是要运行host +打通 接受控制;不是去安装啥补丁!安装啥包    如果碰到以上这个问题,就跟着下面的设置一定可以搞定!如果还是不能拿就是RP问题了。。。  

1.先进入ROOT内:
su – root 

password:xxxxx  DISPLAY=:0.0; export DISPLAY echo $DISPLAY 
 
cd /usr/openwin/bin
./xhost  
access control enabled, only authorized clients can connect
./xhost +  access control disabled, clients can connect from any host
2. 然后进入ORACLE 
su - oracle
 $ DISPLAY=:0.0; export DISPLAY
$ echo $DISPLAY :0.0
$ ls  
doc           response      stage   install       runInstaller  welcome.html
$ ./runInstaller   怎么样,解决了吧!就是这么简单!! 

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

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

注册时间:2012-07-21

  • 博文量
    120
  • 访问量
    903160