Oracle 安装图形化调用 No X11 DISPLAY variable was set, but this program performed an operation which requires it.

这次调用图形化竟然。。。
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=ip:0.0  #IP地址是链接服务器的地址
[oracle@rhel76 db_1]$ ./runInstaller
Launching Oracle Database Setup Wizard...

 

posted @ 2022-06-25 01:56  ritchy  阅读(2239)  评论(0编辑  收藏  举报