当前位置:首页 > 技术问答集
firefox

connection to ":0.0" refused by server

 所属目录:Java   |   类型:技术问答   |   时间:2007-05-21
 问题:

我打算在我的rhel   as4   上安装   oracle9i,可是突然提示一个错误,大概就是如下这样:  
  xlib:connection   to   "0.0"   refused   by   server  
  xlib:no   protocol   specfied  
   
  exception   in   thread   "main"java.lang.internalerror:cant   connect   to   x11   window   server   using   :0"as   the   value   of   the   display   variable.  
          at   sun.awt.x11graphicsenviroment.inidisplay(native   method)  
          ........  
  等等之类的都是java出错的一些信息了  
  我试把display给导出来,没什么效果(export   display=ip:0),用xhost也没什么用,有时候用xhost的时候还提示错误,无法完成,有时又会成功,提示已经添加到access   control   list中,不明白为什么,还有没有什么其他解决的办法

· 网友精彩回答:

发表者:liuyi8903

to   :export   display=ip:0  
  ============================  
   
  export   display=ip:0.0

.
© 2006-2008 All Rights Reserved