您的位置:首页 > 其它

>>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DI

2016-11-10 19:33 519 查看
在linux(centos)上安装Oracle 11g 的时候,遇到一个很棘手的问题。

运行 ./runInstaller的时候

[oracle@corleone database]$ ./runInstaller 

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB. Actual 42451 MB Passed

Checking swap space: must be greater than 150 MB. Actual 4031 MB Passed

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

>>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<

Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,

Continue? (y/n)
n

网上查了很多,怎么尝试都不行。莫名其妙的。

经过一番努力,现把解决方案贴出,希望遇到同样问题的人不要在这个问题上浪费时间。

前提:

1、需要一个x-window 。

2、需要在本机上进行如下操作。我用secureCRT 测试,不成功。

步骤如下:

1、新建一个oracle的帐号

2、在xwindow里用root帐号登录 (关键,直接进入console就不行。)

3、在xwindow里打开Terminal ,即控制台

4、键入如下代码:xhost +SI:localuser:oracle

5、su oracle

6、进入runInstaller 脚本的目录

7、./runInstaller
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐