数据库
首页 > 数据库> > Oracle 安装图形化调用 No X11 DISPLAY variable was set, but this program performed an operation which requir

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

作者:互联网

这次调用图形化竟然。。。
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...

 

标签:No,requires,db,图形化,variable,program,oracle,rhel76,DISPLAY
来源: https://www.cnblogs.com/ritchy/p/16410642.html