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 9月 14 16:16 /root/.Xauthority
# ll /home/oracle/.Xauthority
-rw-------. 1 oracle oinstall 232 3月 23 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–