- 论坛徽章:
- 0
|
小弟在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 +没有问题!安装没有报错,可以看到安装的图形界面!
就是在本地安装不行!有哪位大虾帮帮小弟! |
|