时间:2021-07-01 10:21:17 帮助过:86人阅读
环境: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 serverXlib: 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