linux安装oracle19c异常:Unable to verify the graphical display setup

Unable to verify the graphical display setup

问题描述:

Linux安装oracle19c异常:

$ ./runInstaller
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
No X11 DISPLAY variable was set, but this program performed an operation which requires it.

解决办法:

  • 1、检查文件:.Xauthority
    切换到root
# ll /root/.Xauthority
-rw-------. 1 root root 560 914 16:16 /root/.Xauthority
# ll /home/oracle/.Xauthority
-rw-------. 1 oracle oinstall 232 323 09:20 /home/oracle/.Xauthority

如果oracle目录下没有文件:.Xauthority,拷贝root下配置文件,并授权:

# cp /root/.Xauthority /home/oracle/.Xauthority
# chown oracle /home/oracle/.Xauthority
  • 2、检查DISPLAY配置
    切换到root,检查DISPLAY配置
# echo $DISPLAY
localhost:10.0

切换到oracle,检查DISPLAY配置

# su - oracle
$ echo $DISPLAY

如果oracle下DISPLAY配置为空,需要设置此变量与root一致:

$ export DISPLAY=localhost:10.0
  • 3、经过1/2步骤,应该可以安装oracle了,如果还是有问题,可以试试这个命令:
xhost +

–END–

  • 4
    点赞
  • 34
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值