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

安装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 +

据说可行,呵呵 。

posted @ 2010-05-31 13:58  TQ.CH  阅读(869)  评论(0编辑  收藏  举报