Results 1 to 9 of 9

Thread: suse 9.2 help

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    5

    suse 9.2 help

    after using the search function and reading all the posts that even mention installing showeq on suse, i still cannot get it to run. i believe that i have compiled and installed it properly but for some reason i cannot get it to startup. i have followed the instructions contained in the install.noob file that is included in the .tar with no luck. i tried to start it up using the command# showeq eth0 --ip-address=100.100.100.100, also with no luck.


    what i am trying to do is install showeq on a SUSE 9.2 pro machine. i have recently started playing around with linux and am looking for a noob version of how to install show eq on SUSE 9.2.

    i have also tried to install it following the instructions on this forum page, here. i have gotten this message

    linux:/home/KMK/bin # rpm -ihv showeq-5.0.0.16-1.i586.rpm
    Preparing... ########################################### [100%]
    package showeq-5.0.0.16-1 is already installed
    i tried this method but i was not sure where to go from there. or what command/directory i needed to run/use.

    if there is a noob guide to install showeq on SUSE 9.2 i would love to get a look at it. any help or suggestions are appreciated.

  2. #2
    Developer
    Join Date
    Jul 2004
    Posts
    920

    Re: suse 9.2 help

    1) 5.0.0.16 is old. 5.0.0.18 is current.
    2) "with no luck" is rubbish for helping you. You're gonna have to be a lot more specific than that.

  3. #3
    Registered User
    Join Date
    Apr 2005
    Posts
    5

    Re: suse 9.2 help

    got it figuered out. the problem was the xhost and export DISPLAY setting. thanks for the reply in any case. oddly enough the answer came from an apple site here. thanks again, and if anyone has any questions on how i did it i have a complete log file to compare if the need should arise, or anyone wants to look at it.
    Last edited by suse92noob; 04-06-2005 at 12:06 AM.

  4. #4
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508

    Re: suse 9.2 help

    not odd. Apple is using FreeBSD's kernel as the core of OSX and have a version of X11 to run on top of their interface.

  5. #5
    Registered User
    Join Date
    Apr 2005
    Posts
    5

    Re: suse 9.2 help

    on a side note, the point of that article is that you should not leave the xhost open all the time. is there any way around using x host in the manner i did below?


    kmk@linux:~> xhost +
    access control disabled, clients can connect from any host
    kmk@linux:~> su
    Password:
    linux:/home/KMK # cd /usr/local/bin
    linux:/usr/local/bin # ./showeq eth0 --ip-address=192.168.1.102
    ShowEQ 5.0.0.18, released under the GPL.
    this is how i got it to run and i am not sure that this is the correct method.

  6. #6
    Developer
    Join Date
    Jul 2004
    Posts
    920

    Re: suse 9.2 help

    It was too bad you didn't bother to put your actual error about not having permission to your display in your original post (or anywhere in your post). I'm not surprised you did better searching for yourself, instead of waiting for someone here to divine what your problem is from absolutely no information. If you had put error in here, people in the future could search and find this thread for help.

    Some choices for x authentication are:
    - xhost +localhost (which opens your X server up to anyone on your local machine)
    - Using xauth
    - Making showeq setuid root and just running it as your normal user
    - Setting pam up to properly manage your display permissions

    If you want to do xhost +, it will work fine and it's not wrong or right. That turns off all access control. If you have a firewall and trust everyone behind it, then there's nothing really wrong with that.

    Personally, I make showeq setuid root (chmod u+s `which showeq`) and just run it as my normal user. The less you use your root account, the better.

  7. #7
    Registered User
    Join Date
    Apr 2005
    Posts
    5

    Re: suse 9.2 help

    the original problem was this error

    linux:/usr/local/bin # ./showeq eth0 --ip-address=192.168.1.102
    Xlib: connection to ":0.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    showeq: cannot connect to X server :0.0
    i fixed it by using the xhost command that i learned from the site listed above. originally i had a huge post about my problem but i edited it to the fixed version becaise i did not want to use a huge amount of space. i have the original post still if you would like me to post it again.

  8. #8
    Registered User
    Join Date
    Oct 2004
    Posts
    149

    Re: suse 9.2 help

    Probably not a bad idea, having the text allows people to search for it.

  9. #9
    Registered User
    Join Date
    Apr 2005
    Posts
    5

    Re: suse 9.2 help

    the original post before i edited it to the shorter "i fixed it" version was this:

    i will start from the beginning and try and include as much information as i can.

    i followed the steps in the FAQ to try and download showeq from the CVS. i always get a time out message like this.
    linux:/ # cvs -d[img]images/smilies/tongue.gif[/img]server:[email protected]:/cvsroot/seq login
    Logging in to [img]images/smilies/tongue.gif[/img]server:[email protected]:2401/cvsroot/seq
    CVS password:
    cvs [login aborted]: connect to cvs.seq.sourceforge.net(66.35.250.209):2401 failed: Connection timed out
    linux:/ #
    to get around this i went to the sourceforge website and downloaded the files directly. what i downloaded was:
    Download showeq-maps-1.0.tar.bz2
    Download showeq-5.0.0.18.tar.bz2

    after i downloaded them i logged in as root and ran this
    kmk@linux:~/showeq-5.0.0.18> ./configure
    at the end of the configure i get this message:
    nfig.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating conf/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    Success!
    Please run:
    make
    i did not include the entire text but i can if needed as i saved it to a text file for later reference.

    after that i executed make and got this:
    make[2]: linux:/home/KMK/showeq-5.0.0.18 # make
    make all-recursive
    make[1]: Entering directory `/home/KMK/showeq-5.0.0.18'
    Making all in src
    make[2]: Entering directory `/home/KMK/showeq-5.0.0.18/src'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/KMK/showeq-5.0.0.18/src'
    Making all in conf
    make[2]: Entering directory `/home/KMK/showeq-5.0.0.18/conf'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/KMK/showeq-5.0.0.18/conf'
    make[2]: Entering directory `/home/KMK/showeq-5.0.0.18'
    make[2]: Leaving directory `/home/KMK/showeq-5.0.0.18'
    make[1]: Leaving directory `/home/KMK/showeq-5.0.0.18'
    after running make install i get this:

    make[2]: Leaving directory `/home/KMK/showeq-5.0.0.18/conf'
    make[1]: Leaving directory `/home/KMK/showeq-5.0.0.18/conf'
    make[1]: Entering directory `/home/KMK/showeq-5.0.0.18'
    make[2]: Entering directory `/home/KMK/showeq-5.0.0.18'
    make[2]: Nothing to be done for `install-exec-am'.
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/home/KMK/showeq-5.0.0.18'
    make[1]: Leaving directory `/home/KMK/showeq-5.0.0.18'
    linux:/home/KMK/showeq-5.0.0.18 #
    when i try and execute the program this is what i get:
    linux:/usr/local/bin # ./showeq eth0 --ip-address=192.168.1.102
    Xlib: connection to ":0.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    showeq: cannot connect to X server :0.0
    this is strange because when i try and start an x session from the command line i get this:
    linux:/home/KMK/showeq-5.0.0.18 # startx
    xauth: creating new authority file /root/.Xauthority


    Fatal server error:
    Server is already active for display 0
    If this server is no longer running, remove /tmp/.X0-lock
    and start again.
    i am not sure where to go from here or what i need to do. hope that this sheds some light on what i am doing wrong. i tried to run it like i read on some of the other posts but this result is this:
    linux:/usr/local/bin # showeq
    bash: showeq: command not found
    linux:/usr/local/bin # cd showeq
    bash: cd: showeq: Not a directory
    linux:/usr/local/bin # showeq eth0 --ip-address=192.168.1.102
    bash: showeq: command not found
    linux:/usr/local/bin #
    did a bit more reading and tried one more thing while i was awake, but still cant get it to run

    kmk@linux:~> xhost +localhost
    localhost being added to access control list
    kmk@linux:~> su
    Password:
    linux:/home/KMK # export DISPLAY=localhost:0
    linux:/home/KMK # cd /usr/local/bin
    linux:/usr/local/bin # ./showeq eth0 --ip-address=192.168.1.102
    showeq: cannot connect to X server localhost:0
    linux:/usr/local/bin # export DISPLAY=:0
    linux:/usr/local/bin # ./showeq eth0 --ip-address=192.168.1.102
    Xlib: connection to ":0.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    showeq: cannot connect to X server :0
    linux:/usr/local/bin #

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On