DISPLAY not set. Please set the DISPLAY

2026-02-14 04:09:41

1、切换到root用户,执行以下命令:

[root@localhost ~]# export DISPLAY=:0.0

[root@localhost ~]# xhost +

access control disabled, clients can connect from any host

[root@localhost ~]#

执行以上命令后,再次切换到oracle用户执行安装即可。

[root@localhost database]# ./runInstaller

DISPLAY not set. Please set the DISPLAY

2、执行以上命令后,再次切换到oracle用户执行安装即可。

[root@localhost database]# ./runInstaller

DISPLAY not set. Please set the DISPLAY

DISPLAY not set. Please set the DISPLAY

猜你喜欢