免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: jlandzpa
打印 上一主题 下一主题

[SOLARIS][help] 有关图形界面的启动 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2004-06-08 14:47 |只看该作者
if you\'d mentioned \'xclock\' earlier,  that would not have confused me in the first place.

you said there is only problem with \'su - oracle\', but you said \"root/oracle抱同样的错\" again. anyway, this is easy one. what else follows \"can\'t open display\"? if nothing, you didn\'t set DISPLAY. if something like \":1\", it is about X server access permission.  

if you want to have your problem resolved quickly, give clear description.

论坛徽章:
0
12 [报告]
发表于 2004-06-08 16:05 |只看该作者
最初由 lazyoracle 发布
[B]if you\'d mentioned \'xclock\' earlier,  that would not have confused me in the first place.

you said there is only problem with \'su - oracle\', but you said \"root/oracle抱同样的错\" again. anyway, this is easy one. what else follows \"can\'t open display\"? if nothing, you didn\'t set DISPLAY. if something like \":1\", it is about X server access permission.  

if you want to have your problem resolved quickly, give clear description. [/B]


sorry ,
第一次摸SOLARIS, 没有用过.
是别人让我用admintool测试的.

论坛徽章:
15
2015年辞旧岁徽章
日期:2015-03-03 16:54:15双鱼座
日期:2015-01-15 17:29:44午马
日期:2015-01-06 17:06:51子鼠
日期:2014-11-24 10:11:13寅虎
日期:2014-08-18 07:10:55酉鸡
日期:2014-04-02 12:24:51双子座
日期:2014-04-02 12:19:44天秤座
日期:2014-03-17 11:43:36亥猪
日期:2014-03-13 08:13:51未羊
日期:2014-03-11 12:42:03白羊座
日期:2013-11-20 10:15:18CU大牛徽章
日期:2013-04-17 11:48:45
13 [报告]
发表于 2004-06-08 16:34 |只看该作者

display 没设

远程登录后,将Display设到本机
set display=hostname:0

论坛徽章:
0
14 [报告]
发表于 2004-06-09 08:50 |只看该作者

Re: display 没设

最初由 rdcwayx 发布
[B]远程登录后,将Display设到本机
set display=hostname:0 [/B]


设置了.

直接用ORACLE 登陆,runInstaller可以,
但如果用root登陆,在转到oracle,  则不可以runInstaller。

谢谢

论坛徽章:
0
15 [报告]
发表于 2004-06-09 09:43 |只看该作者
#su - oracle
oracle$ echo $DISPLAY

oracle$ xclock
Error: Can\'t open display:
oracle$ DISPLAY=:0.0
oracle$ export DISPLAY
oracle$ echo $DISPLAY
:0.0
oracle$ xclock
Xlib: connection to \":0.0\" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can\'t open display: :0.0

Open another terminal and type
#xhost +local:

return to this term
oracle$./runInstaller

Isn\'t that work?

论坛徽章:
0
16 [报告]
发表于 2004-06-09 11:56 |只看该作者
最初由 bloomit 发布
[B]#su - oracle
oracle$ echo $DISPLAY

oracle$ xclock
Error: Can\'t open display:
oracle$ DISPLAY=:0.0
oracle$ export DISPLAY
oracle$ echo $DISPLAY
:0.0
oracle$ xclock
Xlib: connection to \":0.0\" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can\'t open display: :0.0

Open another terminal and type
#xhost +local:

return to this term
oracle$./runInstaller

Isn\'t that work? [/B]


谢谢老大,用户很偏远,去一次不容易,
下次遇到类似问题再试试。

谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP