免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2795 | 回复: 4
打印 上一主题 下一主题

[安装配置] 本地AIX安装oracle 10g的DISPLAY问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-10-18 14:56 |只看该作者 |倒序浏览
小弟在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.<clinit>(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.Window.init(Window.java:26
        at java.awt.Window.<init>(Window.java:312)
        at java.awt.Frame.<init>(Frame.java:431)
        at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
        at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
        atoracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:357)
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2127)

但是我使用远程软件登录安装,xhost +没有问题!安装没有报错,可以看到安装的图形界面!
就是在本地安装不行!有哪位大虾帮帮小弟!

论坛徽章:
0
2 [报告]
发表于 2006-10-18 15:05 |只看该作者
root用户执行xhost +

论坛徽章:
0
3 [报告]
发表于 2006-10-18 15:17 |只看该作者
小弟在root用户
#DISPLAY=127.0.0.1:0.0; export DISPLAY
#xhost +
access control disabled,clients can connect from any host.
情问怎么解决?

论坛徽章:
0
4 [报告]
发表于 2006-10-18 15:24 |只看该作者
access control disabled,clients can connect from any host.
已经很清楚了嘛,你可以启图形安装了

论坛徽章:
0
5 [报告]
发表于 2006-10-18 16:11 |只看该作者
终于搞明白了!!谢谢噢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP