标题: Oracle 安装图形化调用 No X11 DISPLAY variable was set, but this progra [打印本页] 作者: 立山 时间: 2022-8-9 23:55 标题: Oracle 安装图形化调用 No X11 DISPLAY variable was set, but this progra 这次调用图形化竟然。。。
1、xhost + IP(LINUX本身)
显示added
[root@rhel76 ~]# xhost + 192.168.137.22
192.168.137.22 being added to access control list
2、切换到oracle
[root@rhel76 ~]# su - oracle
[oracle@rhel76 ~]$ cd \$ORACLE_HOME
这时候还是调用不出来
[oracle@rhel76 db_1]\$ ./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.
3、重新设置、调用Linux本机
[oracle@rhel76 db_1]$ export DISPLAY=localhost:0
[oracle@rhel76 db_1]$ ./runInstaller
Launching Oracle Database Setup Wizard...