Linux上安装Oralce数据库时,往往需要调出图形界面,虽然xmanager passive已经启动,但是依旧调不出来,出现如下报错:

[oracle@cdr database]$ export DISPLAY=172.20.20.15:0.0
[oracle@cdr database]$ ./runInstaller
Starting Oracle Universal Installer...Checking Temp space: must be greater than 500 MB.   Actual 495816 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 7551 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 beforecontinuing with the installation,Continue? (y/n) [n] nUser Selected: NoExiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2021-12-23_05-45-13PM/installActions2021-12-23_05-45-13PM.log

解决方法:
先检查xdpyinfo是否安装:

[root@cdr ~]# /usr/bin/xdpyinfo
-bash: /usr/bin/xdpyinfo: No such file or directory

检查发现xdpyinfo没有安装,先安装xdpyinfo

[root@cdr ~]# yum -y install xdpyinfo
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-utils.x86_64 0:7.5-23.el7 will be installed
--> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Processing Dependency: libXv.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64
--> Running transaction check
---> Package libXv.x86_64 0:1.0.11-1.el7 will be installed
---> Package libXxf86dga.x86_64 0:1.1.4-2.1.el7 will be installed
---> Package libdmx.x86_64 0:1.1.3-3.el7 will be installed
--> Finished Dependency ResolutionDependencies Resolved====================================================================================================================================================================================================================================Package                                                     Arch                                                Version                                                      Repository                                       Size
====================================================================================================================================================================================================================================
Installing:xorg-x11-utils                                              x86_64                                              7.5-23.el7                                                   c7                                              114 k
Installing for dependencies:libXv                                                       x86_64                                              1.0.11-1.el7                                                 c7                                               18 klibXxf86dga                                                 x86_64                                              1.1.4-2.1.el7                                                c7                                               19 klibdmx                                                      x86_64                                              1.1.3-3.el7                                                  c7                                               16 kTransaction Summary
====================================================================================================================================================================================================================================
Install  1 Package (+3 Dependent packages)Total download size: 168 k
Installed size: 334 k
Downloading packages:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                               3.7 MB/s | 168 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transactionInstalling : libXxf86dga-1.1.4-2.1.el7.x86_64                                                                                                                                                                                 1/4 Installing : libdmx-1.1.3-3.el7.x86_64                                                                                                                                                                                        2/4 Installing : libXv-1.0.11-1.el7.x86_64                                                                                                                                                                                        3/4 Installing : xorg-x11-utils-7.5-23.el7.x86_64                                                                                                                                                                                 4/4 Verifying  : xorg-x11-utils-7.5-23.el7.x86_64                                                                                                                                                                                 1/4 Verifying  : libXv-1.0.11-1.el7.x86_64                                                                                                                                                                                        2/4 Verifying  : libdmx-1.1.3-3.el7.x86_64                                                                                                                                                                                        3/4 Verifying  : libXxf86dga-1.1.4-2.1.el7.x86_64                                                                                                                                                                                 4/4 Installed:xorg-x11-utils.x86_64 0:7.5-23.el7                                                                                                                                                                                                Dependency Installed:libXv.x86_64 0:1.0.11-1.el7                                              libXxf86dga.x86_64 0:1.1.4-2.1.el7                                              libdmx.x86_64 0:1.1.3-3.el7                                             Complete!

然后即可调出图形界面

[oracle@cdr database]$ ./runInstaller
Starting Oracle Universal Installer...Checking Temp space: must be greater than 500 MB.   Actual 495814 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 7551 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2021-12-23_05-46-11PM. Please wait ...[oracle@cdr database]$

Could not execute auto check for display colors using command /usr/bin/xdpyinfo相关推荐

  1. VNC下安装Oracle报错--Could not execute auto check for display colors

    在VNC下使用Oracle用户安装软件,无法正常显示图形界面 解决办法: 1.root用户登录 2.执行 xhost + 3.su - oracle 4../runInstaller 转载于:http ...

  2. xdpyinfo命令找不到_无法使用命令 /usr/bin/xdpyinfo 自动检查显示器颜色。请检查是否设置了 DISPLAY 变量。 未通过...

    无法使用命令 /usr/bin/xdpyinfo 自动检查显示器颜色.请检查是否设置了 DISPLAY 变量. 未通过 <<<< 安装Oracle 11G 执行报错,这是怎么解 ...

  3. 无法使用命令 /usr/bin/xdpyinfo 自动检查显示器颜色。请检查是否设置了 DISPLAY

    https://blog.csdn.net/woshigedahaoren/article/details/9493887 转载于:https://www.cnblogs.com/diyunpeng/ ...

  4. Sorry, user user is not allowed to execute '/usr/bin/apt-get update' as root on

    错误描述:在子用户下修改/.bashrc时,修改完成后无法保存.利用chmod修改权限没有报错,但文件依旧无法写入.当使用sudo命令时报上述错误. 错误原因:创建的子用户不在sudo命令组里面. 解 ...

  5. oracle display set,Check if the DISPLAY variable is set

    1.oracle安装报错如下: Checking Temp space: must be greater than 120 MB.   Actual 109499 MB    Passed Check ...

  6. linux 手动安装 oracle(转)

    Linux下安装Oracle 11 此为参照CU论坛上的高人写的文章并结合自身环境增加了点细节性的东西 操作系统 CentOS 4.2 2.6.11.8内核 安装准备 下载Oracle11安装包 内存 ...

  7. Oracle数据库安装Version12c

    1.安装规划 Oracle数据库版本: Linuxamd64_12102_database 12c Linux服务器系统: CentOS Linux release 7.5.1804 (Core) 6 ...

  8. Oracle安装出现报错

    报错信息如下: >>> Couldnot execute auto check for display colors using command /usr/bin/xdpyinfo. ...

  9. CentOS7下使用yum快速安装配置oracle数据库

    2019独角兽企业重金招聘Python工程师标准>>> CentOS7下使用yum快速安装配置oracle数据库 2017年10月10日 15:29:23 aladdin_sun 阅 ...

最新文章

  1. 突发!贝壳董事长左晖因疾病意外去世
  2. 使用itextpdf操作pdf
  3. UTF-8 可变编码格式
  4. 【距离GDOI:128天】【POJ2778】DNA Sequence(AC自动机+矩阵加速)
  5. VSCode自定义代码片段13——Vue的状态大管家
  6. 应届毕业生面试软件测试工程师时应注意什么?
  7. 错误代码:1120当前Hsql数据库已被另一线程锁定
  8. 获取spring 框架源码方式
  9. python属于系统软件吗_2020年,编程语言将不再只属于程序员,尤其是这门语言...
  10. Hash与Hash冲突及四种解决方案
  11. php如何显示默认图片,图片不存在就显示默认图片
  12. [Xcelsius]BI展现工具之Xcelsius
  13. RegExp正则表达式-基本语法
  14. 七夕快到了,用python给女朋友画张素描吧
  15. 面试题--用友面试题--IQ题
  16. 外部接口调用失败重试
  17. OC视频笔记7(自定义初始化方法)8(类方法与实例方法的区别)(为什么NSString后面加*)
  18. 缓冲协议才是Python风靡全球的主要原因
  19. <Zhuuu_ZZ>那些年我们踩过的Hadoop HA的坑--高可用集群
  20. 【zabbix监控三】zabbix之部署代理服务器

热门文章

  1. 三层交换机不同网段vlan透传
  2. 8个国外最流行使用比较广泛的开源论坛
  3. [转]清水吉治的设计效果图
  4. 孙立平:四项措施重建社会基本秩序(转载)
  5. Twitter 被裁员工的集体诉讼遭法官驳回!
  6. 安卓开发:魅族手机安装apk安装包提示安装失败、更新包不兼容问题的解决方法
  7. 如何修改和关闭1433端口
  8. 服务器 用一个独立的硬盘存储文件夹,一、块存储、文件存储、对象存储,三者的本质差别是什么?...
  9. Linux基础命令---ping
  10. 别再自己手动抠图了,教你你用Python5行代码实现批量抠图