Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   limewire on suse 7.1 (https://www.gnutellaforums.com/general-linux-support/231-limewire-suse-7-1-a.html)

quasar April 18th, 2001 03:07 AM

ok, here's my version of the story: i installed Sun's SDK from the SuSE 7.1 installation disks, (since the JRE is part of the SDK), and found it installed as a link to the JRE, under the root directory.

I then typed "/java/bin/java -classpath LimeWireOther.zip install."

Here's the errors i got:

Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

Exception in thread "main"

Anyone get that also? Interesting that the same errors i got,i also get when trying to run xmame. (not the exception error though.)
Anybody have a clue on what's wrong with my setup? Thanks.

Axe April 18th, 2001 03:14 AM

[QUOTE]Originally posted by quasar:

Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

Logged in a terminal window as root? You are not allowed to use the user's X-Server!

I found out that limewire works only properly for the root. You may start it with SUID root, but this does not allow downloads etc.

I have a solution for this using SUDO....but i cant remember it out of the head. Will post it here when I'm back at my linux-box

Cheers
Axe

Axe April 24th, 2001 10:35 AM

OK, this is my solution (repeated as separate posting)


Installing LineWire

I had the problem that LimeWire worked only with root authorisations. Setting SUID rood didnt help, downloads still were not working. I fixed it the following:

login as root
install limewire to /opt/LimeWire

create a script, lets say lw, and put it to /usr/local/bin (or somewhere else, e.g. $HOME). Assuming you are joe_user, the script is:
-------- snip
#!/bin/sh
XAUTHORITY=/home/joe_user/.Xauthority; export XAUTHORITY
DISPLAY=:0.0; export DISPLAY
/opt/LimeWire/LimeWire

-------- snap

next you need sudo installed on your machine. Pls. Note that there was a security announcement last (look at portal.suse.de/en). With visudo, configure sudo and add the following line:

joe_user ALL=NOPASSWD:/usr/local/bin/lw

now you can start limewire with

sudo lw

.....and enjoy sucking songz!

lzhuk August 24th, 2001 02:02 PM

java version?
 
I get the following error message: "Unable to initialize threads: cannot find class java /lang/Thread. I have Suse 7.0 PPC (Mac) and jdk1.1.8. Is that because of the java version? I've downloaded jdk1.3.1 but have hard time uncompressing it and installing. Do you know what utility I should use to uncompress *.bin files? thanks.


All times are GMT -7. The time now is 11:40 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.