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

本文介绍在CentOS系统中安装Oracle11g时遇到的显示颜色检查失败问题及其解决方法。通过设置x-window环境并执行特定命令,使安装过程中的图形界面检查能够顺利通过。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在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] 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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值