欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

Oracle 11gr2 在linux下dbca、netmgr无法启动

程序员文章站 2022-05-21 12:46:11
...

环境:oracle-linux 5.7 oracle11g R2 错误情况: [oracle@linusfay ~]$ netmgr Xlib: connection to :0.0 refused by server Xlib: No protocol specified [oracle@linusfay ~]$ dbca Xlib: connection to :0.0 refused by server Xlib: No protocol specif

环境:oracle-linux 5.7 oracle11g R2

错误情况:

[oracle@linusfay ~]$ netmgr

Xlib: connection to ":0.0" refused by server

Xlib: No protocol specified

[oracle@linusfay ~]$ dbca
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


解决办法

[oracle@linusfay ~]# export DISPLAY=127.0.0.1:0.0
[oracle@linusfay ~]# export DISPLAY=:0.0
[oracle@linusfay ~]# xhost +
access control disabled, clients can connect from any host