Two problems resolved

1 篇文章 0 订阅
I installed db2 on linux. But can't start on linux after installation.

First,Can't find  /opt/IBMJava2-141/ Files .Then I installed IBMJava2, also didn't work .
Then I copy jre files from sun to this dir.

It's right now.

But:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

This  because  first  changed account during the processing of terminal.
So open a new terminal can resolve this problem!

Refer:
Xlib: connection to ":0.0" refused by server ( post #1)

Xlib: connection to ":0.0" refused by server
Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison)
dfm: Can't open display! Check DISPLAY variable!

i just apt-get install dfm to download a filemanger cause i have icewm

also the first line is the same error i am getting by using ssh

and my display value on my computer is echo $DISPLAY
:0.0

I think this is a very comman error because i search on google
there are many but can't find an answer

anyone out there who know this stuff

thanks

__________________
Life is just like a candle, when the wind blow it blows.
registered as user #374439 with the Linux Counter http://www.counter.li.org
and get counted


Report this post to a moderator | IP: Logged

Paxmaster is offline Old Post 03-08-2005 11:25 PM
Click Here to See the Profile for Paxmaster Click here to Send Paxmaster a Private Message Click Here to Email Paxmaster Find more posts by Paxmaster Add Paxmaster to your buddy list 123918 - no Affero username Edit/Delete Message Reply w/Quote
btmiller
Senior Member

Registered: May 2004
Location:
Distribution: At home: Slackware (9.1 & 10), OpenBSD, NetBSD, Solaris. At work: Red Hat 9, Debian, FC3, Irix, HPUX
Posts: 1369
HCL Entries: 0
Reviews: 0/0


( post #2)

Try entering "xhost +" from an xterm connected to the X server (i.e. not after you've su'ed to another user or something). This will disable the access restrictions on X server connections.

__________________
"The UNIX system is successful because the minimum number of keystrokes achieve the maximum effort. In addition, the system says very little to explain errors and relies on the intelligence of the user to deduce reasons for failure."

Taken from http://www.hillside.co.uk/articles/typing.html


Report this post to a moderator | IP: Logged

btmiller is offline Old Post 03-09-2005 03:59 AM
Click Here to See the Profile for btmiller Click here to Send btmiller a Private Message Click Here to Email btmiller Visit btmiller's homepage! Find more posts by btmiller Add btmiller to your buddy list 114616 - no Affero username Edit/Delete Message Reply w/Quote
NooDleZ
Newbie

Registered: Feb 2004
Location: Tampico, MX
Distribution: Slackware, Gentoo
Posts: 27
HCL Entries: 0
Reviews: 0/0


( post #3)

i had the same problem, and that fix it, thanks :)

__________________
"America Is Not A Country IS A CONTINENT"


Report this post to a moderator | IP: Logged

NooDleZ is offline Old Post 03-15-2005 09:28 PM
Click Here to See the Profile for NooDleZ Click here to Send NooDleZ a Private Message Click Here to Email NooDleZ Visit NooDleZ's homepage! Find more posts by NooDleZ Add NooDleZ to your buddy list 95226 - no Affero username Edit/Delete Message Reply w/Quote
reddazz
Senior Member

Registered: Nov 2003
Location: Zimbabwe / N. W. England
Distribution: Slackware , Fedora Core, CentOS, Debian, FreeBSD
Posts: 3588
HCL Entries: 0
Reviews: 0/0


( post #4)

I think its better to use "xhost +hostname", which will anly allow connections from the host name you specify. "xhost +" on its own, enables connections from any host.

__________________
If this helped you, please click the 'Thanks' button.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值