本地AIX安装oracle 10g的DISPLAY问题
(2011-12-23 08:54:26)
标签:
oracle
杂谈
本地AIX安装oracle 10g的DISPLAY问题小弟在AIX
5.3上安装oracle,本机IP=10.1.1.52,所以环境变量设置DISPLAY=10.1.1.52:0.0; export
DISPLAY
但是切换用户之后执行xhost + 出现如下报错:
Xlib: connection to
"10.1.1.52:0.0" refused by
server
Xlib: Client is not authorized to connect to Server
1356-200 xhost unable to open display
"10.1.1.52:0.0"
使用127.0.0.1:0.0 也是一样!
如果直接运行./runInstaller会出险以下报错:
Xlib: connection to
"10.1.1.52:0.0" refused by
server
Xlib: Client is not authorized to connect to Server
Exception in thread "main"
java.lang.InternalError: Can't connect toX11window server using
'10.1.1.52:0.0' as the value of the DISPLAYvariable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at
sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:175)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:180)
atjava.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:91)
at java.awt.windows.init(Window.java:268)
at
java.awt.Window.(Window.java:312)
at java.awt
夏娃之秀xhost
+没有问题!安装没有报错,可以看到安装http://www.eurowinapparel.comhttp://www.beneficials.net的图形界面!
就是在本地安装不行!有哪位大虾帮帮小弟!root用户执行xhost +小弟在root用户
#DISPLAY=127.0.0.1:0.0; export DISPLAY
#xhost +
access control disabled,clients can connect from any host.
情问怎么解决?access control disabled,clients can connect from any
host.
已经很清楚了嘛,你可以启图形安装了终于搞明白了!!谢谢噢!
分享:
喜欢
0
赠金笔
加载中,请稍候......
评论加载中,请稍候...
发评论
登录名: 密码: 找回密码 注册记住登录状态
昵 称:
评论并转载此博文
发评论
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。