LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-25-2003, 09:50 AM   #1
Groucho
Member
 
Registered: Sep 2003
Location: Milano, Italy
Distribution: Slackware
Posts: 56

Rep: Reputation: 15
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
 
Old 09-25-2003, 10:58 AM   #2
mrpdaemon
Member
 
Registered: Jun 2003
Distribution: Slackware 9.1
Posts: 41

Rep: Reputation: 15
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.
 
Old 09-25-2003, 11:03 AM   #3
Groucho
Member
 
Registered: Sep 2003
Location: Milano, Italy
Distribution: Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
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
 
Old 09-25-2003, 05:24 PM   #4
enduser
LQ Newbie
 
Registered: Sep 2003
Location: boston
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
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.
 
Old 09-25-2003, 05:27 PM   #5
enduser
LQ Newbie
 
Registered: Sep 2003
Location: boston
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
im using both right now , they are sweet

woops posted twice

Last edited by enduser; 09-25-2003 at 05:29 PM.
 
Old 09-26-2003, 05:38 AM   #6
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can gkrellm themes be set from fluxbox styles? DJOtaku Linux - General 2 05-12-2005 09:01 AM
gkrellm on fluxbox brokenflea Slackware 6 04-12-2005 10:26 PM
gkrellm and fluxbox questions Abe_the_Man Linux - Software 3 12-30-2003 04:57 AM
Gkrellm always on top at fluxbox chup Linux - General 3 10-16-2003 06:17 AM
Can I run Gkrellm on Fluxbox without having Gnome?? cathodion Linux - Software 9 07-03-2003 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:57 PM.

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions