解决安装oracle时出现Could not execute auto check for display colors using command /usr/bin/xdpyinfo

该问题是因为在安装oracle依赖包时少装了一个xhost命令,如果执行xhost显示找不到该命令

1.查找该命令是由哪个包提供

#yum whatprovides "*/xhost"

2.根据返回的结果,安装对应的包

我的显示是

xorg-x11-server-utils-7.7-14.el6.x86_64 : X.Org X11 X server utilities
Repo        : os
Matched from:
Filename    : /usr/bin/xhost

3.安装该包:

#yum -y install xorg-x11-server-utils-7.7-14.el6.x86_64

安装成功后执行./runInstaller,还是报错

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

4.安装xdpyinfo

#yum -y install xdpyinfo

再执行./runInstaller,不报该错误

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
"Solaris 10在运行命令'/usr/X11R6/bin/xsetroot -name',可能会遇到'could not execute auto check for display colors using command /usr/X11R6/bin/xsetroot -name'的错误提示。 这个错误通常是由于缺少X Window系统所需的某些配置文件或环境变量引起的。由于缺少相关配置,导致操作系统无法正确运行'xsetroot'命令。 要解决这个问题,可以尝试以下几个步骤: 1. 检查是否安装了X Window系统:确保系统中已安装X Window及其相关组件。可以通过运行命令'dpkg -l xserver-xorg-core'来检查是否已安装X Window软件包。 2. 检查环境变量设置:确保环境变量DISPLAY已正确设置。可以通过运行命令'echo $DISPLAY'来检查显示器环境变量的值。如果没有设置,可以通过运行命令'export DISPLAY=:0.0'来设置DISPLAY变量。 3. 检查权限:检查当前用户是否具有足够的权限来执行'xsetroot'命令。可以尝试以root用户的身份运行命令,或者通过sudo命令获得root权限。 4. 重新安装X Window系统:如果以上步骤都没有解决问题,可以尝试重新安装X Window系统,以确保所有相关的配置文件正确安装。 通过以上步骤,应该能够解决Solaris 10中出现'could not execute auto check for display colors using command /usr/X11R6/bin/xsetroot -name'的错误提示。如果问题仍然存在,可能需要进一步检查日志文件或联系系统管理员来获取更详细的帮助。"
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值