Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-25-2003, 09:50 AM
|
#1
|
|
Member
Registered: Sep 2003
Location: Milano, Italy
Distribution: Slackware
Posts: 56
Rep:
|
Gkrellm and fluxbox
Hi.
I've a problem installing gkrellm 2.1.19 on slackware and fluxbox.
If I install the package as root, when I start gkrellm the program doesn't start, and tell me "Illegal instruction".
If I try to start it logged as user, the program tells me:
(gkrellm:5460): Gtk-WARNING **: cannot open display:
and then the program exit.
Could someone help me?
Thanks
Cheers
|
|
|
|
09-25-2003, 10:58 AM
|
#2
|
|
Member
Registered: Jun 2003
Distribution: Slackware 9.1
Posts: 41
Rep:
|
Illegal instruction is one hell of an error. Did you download the correct binary for your processor (ie. did you get a sparc binary or something?)
try 'whereis gkrellm' and 'locate gkrellm' to see which gkrellm binaries are available, try them one by one. It is possible that you have one gkrellm under /usr/bin , and one under /usr/local/bin , that changes from person to person (who does the package) , and you might be trying to execute the "bad" gkrellm. Try /usr/bin/gkrellm and /usr/local/bin/gkrellm
if that does not work, removepkg gkrellm-whatever && installpkg gkrellm-whatever.tgz might work.
|
|
|
|
09-25-2003, 11:03 AM
|
#3
|
|
Member
Registered: Sep 2003
Location: Milano, Italy
Distribution: Slackware
Posts: 56
Original Poster
Rep:
|
Hi.
I've only one gkrellm installed in /usr/bin.
I've installed it with package for Slackware downloaded by linuxpackages.net
I've tried many times to remove and reinstall package, but the result is always the same
Cheers
|
|
|
|
09-25-2003, 05:24 PM
|
#4
|
|
LQ Newbie
Registered: Sep 2003
Location: boston
Distribution: Slackware
Posts: 2
Rep:
|
im using both right now , they are sweet
What you need to do is follow these simple steps
------------------------------------------------------------------
!!!
MAKE sure you are starting xfree86 as the user you are running this as although i can run weird stuff as root and it opens the display fine
its weird.
!!!!
1.)try running gkrellm as a regular user.
- login as this user
- open a terminal
- su - yourname
- the "-" there is important , it starts a brand new shell
- into that shell type gkrellm &
- if gkrellm does not start , follow my detailed installation procedure below
1.) uninstall any copies of gkrellm
2.) tell me if you got fluxbox installed correctly , seems like you did
3.) either use a package or install from source
here are some possibilites
----------------------------------------
rpm ?
(as root)
rpm -Uvh ./gkrellm*.rpm
tgz?
(as root)
installpkg ./gkrellm*.tgz
source ?
as regular user!
tar xvzf ./gkrellm-x-x-x-x-.tar.gz
cd ./gkrellm-x-x-x-x-
./configure (youll need gtk and some compilers like GCC)
(so if you dont have them use a binary package like rpm etc...)
make
(if all goes well)
su - root
make install
-----------------------------------------
we have now insured that you installed it correctly
Last edited by enduser; 09-25-2003 at 05:32 PM.
|
|
|
|
09-25-2003, 05:27 PM
|
#5
|
|
LQ Newbie
Registered: Sep 2003
Location: boston
Distribution: Slackware
Posts: 2
Rep:
|
im using both right now , they are sweet
woops posted twice
Last edited by enduser; 09-25-2003 at 05:29 PM.
|
|
|
|
09-26-2003, 05:38 AM
|
#6
|
|
Senior Member
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
|
I would say just try to install from source and it should work.
The "cant open display" error is probably cause since you started X as someone else than whose trying to run gkrellm. For example did you start x with root and tried to run gkrellm as a 'sued' user?
If so you need to give acces to X server for everyone: root@example:~# xhost+
then su - (with the '-') to user and then try to run gkrellm.
Otherwise just login as user, startx as user and run gkrellm as user.
Again i suggest you install from source. It compiles no problem on slackware 9.0
HTH
-NSKL
|
|
|
|
All times are GMT -5. The time now is 05:57 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|