您的位置:首页 > 其它

Err:Xlib:connection to ":0.0" refused by server Xlib

2010-05-31 13:58 483 查看
安装oracle时报错:

Xlib:connection to ":0.0" refused by server Xlib:No protocol specified

Exception in thread "main" java.lang.InternalError:Can not connect to X11 window server using ':0.0" as the value of the DISPLAY variable.

我的解决方法:root 用户执行:xhost +

----access control disabled,clients can connect from any host

重新oracle 登录。

OK。

------------------------------------------------------------------------

网上有另一种解决方法:

执行:xhost local:oracle non-network local connections being added to access control list 代替 上面的 xhost +

据说可行,呵呵 。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: