重庆思庄Oracle、Redhat认证学习论坛

标题: linux最小化安装,安装oracle时出现Could not execute auto check for display... [打印本页]

作者: 王亮    时间: 2020-9-29 12:03
标题: linux最小化安装,安装oracle时出现Could not execute auto check for display...
首先需要安装的是xhost,如果执行xhost显示找不到该命令,

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

yum whatprovides "*/xhost"

2.根据返回的结果,安装对应的包
我的显示是
xorg-x11-server-utils-7.7-20.el7.x86_64 : X.Org X11 X server utilities
源    :@anaconda
匹配来源:
文件名    :/usr/bin/xhost


yum install xorg-x11-server-utils-7.7-20.el7.x86_64

3.只有xhost还不行,运行xhost +还是会报错,

运行如下命令安装vnc

yum install tigervnc tigervnc-server

启动并配置vnc

vncserver

切换到oracle用户,

$export  DISPLAY=192.168.133.1:0.0 #0是vnc启动时给的标识,表示在哪个tty上连接

$xhost +

access control disabled,clients can connect from any host

如果执行./runInstaller还是报错为

Could not execute auto check for display colors using command /usr/bin/xdpyinfo <<failed

.....

安装xdpyinfo

yum install xdpyinfo

安装完成以后执行./runInstaller就可以在Xshell下显示出安装页面了.








欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2