+ -
当前位置:首页 → 问答吧 → 安装oracle 10g出现xhost: unable to open display "localhost:0.0"

安装oracle 10g出现xhost: unable to open display "localhost:0.0"

时间:2008-09-19

来源:互联网

使用用户名oracle登录,环境变量中设置DISPLAY=localhost:0.0
运行runInstall后,提示
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable.

运行xhost ,提示xhost: unable to open display "localhost:0.0"
请问什么原因啊

作者: lun0412   发布时间: 2008-09-19

已经解决了,不过不知道什么原因。开始的时候将oracle的环境变量设置了DISPLAY=localhost:0.0,结果进入该用户的时候都进入不了,提示说X11有问题,后来删除后。再进入,就可以安装了。看了看env,DISPLAY= :0.0,不知道怎么回事。难道这个和我设置的不一样?

作者: yzc247   发布时间: 2008-09-19

不是client登录,可以现用root用户测试xclock。

作者: mirxx   发布时间: 2008-09-19

你 先用root用户登入
然后输入xhost +
在输入 export DISPLAY
在换到别的用户(oracle)用就可以了。。

作者: 51.vc   发布时间: 2008-09-19

支持楼上的!=700) window.open('http://linux.chinaunix.net/bbs/images/smilies/em02.gif');" onload="if(this.offsetWidth>'700')this.width='700';if(this.offsetHeight>'700')this.height='700';" >

作者: paranoia   发布时间: 2008-09-19

我想找php的朋友交流

作者: 风轻剑客孤   发布时间: 2008-09-19

PHP我学习了,有点难,呵呵

作者: gongxieyan   发布时间: 2008-09-20

新人路过。。。

作者: justinfull   发布时间: 2008-09-20

我想找php的朋友交流

作者: yeats520   发布时间: 2008-09-20

. . . .

作者: rayeyes   发布时间: 2008-09-20