【思庄oracle技术分享】-安装Oracle无法使用命令/usr/bin/xdpyinfo颜色监视器

在通过xmanager安装oracle的时候会在前期oracle自动检测的时候会有报错,显示颜色监视器不通过,一般有以下解决的方法

1.用root用户执行 xhost +

[root@localhost ~]# xhost +
access control disabled, clients can connect from any host (若提示没有这个命令,则需要安装必要的组件)

2.在root下执行xdpyinfo,没有就使用yum源安装

yum -y install xdpyinfo

3.接着在root下执行xhost +

[root@localhost ~]# xhost +
access control disabled, clients can connect from any host (这个时候就会显示这个了)

4.切换到oracle用户

su - oracle

5.在oracle用户执行命令

export DISPLAY=:0.0

6.再次执行安装命令 ./runInstaller

![在这里插入图片描述](https://img-blog.csdnimg.cn/a3996581d32047f989c69c190478af86.jpg?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAZHVhbndlaWZhbmc=,size_20,color_FFFFFF,t_70,g_se,x_16#pic_center)