我正在尝试将 Oracle 数据库安装到 Linux 机器上。我在下面遇到错误
Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
我在下面运行命令,但它仍然返回错误。 我该怎么办?
[oracle@localhost ~]$ hostname
localhost.localdomain
[oracle@localhost ~]$ DISPLAY=localhost.localdomain:0.0; export DISPLAY
[oracle@localhost ~]$ xclock
Error: Can't open display: localhost.localdomain:0.0
Linux 版本
[root@localhost oracle]# uname -a
Linux localhost.localdomain 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19
11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
Oracle 数据库版本 12.2.01
最佳答案
这应该可以解决问题:
# as root. Grant access to everyone to the X Server
#xhost +
# as oracle
$export DISPLAY=:0.0
$xclock
$./runInstaller
关于linux - 无法在 Linux 7 中安装 Oracle 数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46981564/