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.
|
 |
01-26-2010, 03:43 PM
|
#1
|
Member
Registered: Dec 2008
Location: Spanaway, Wa
Distribution: Kernel Linux 3.6-4.slh.1-aptosid-amd64
Posts: 44
Rep:
|
SOLVED - Can't get gksu to work
I have 13.0_64 installed. Found gksu on slackbuild.org. I downloaded it and followed the links to the dependencies and built and installed each one mentioned. gksu built okay and gave me a package which I installed. If I open the run command and enter "gksu thunar" I get this error
Code:
The gksu-run-helper command was not found or is not executable.
I'm lost at this point. Forgot to mention that I am running Xfce.
any help appreciated,
john
Last edited by jbs1136; 01-27-2010 at 09:29 AM.
Reason: Solved problem
|
|
|
01-26-2010, 04:08 PM
|
#2
|
Member
Registered: Aug 2006
Distribution: Slackware
Posts: 804
Rep: 
|
Have you done a slocate on gksu-run-helper or make sure it is executable if it's on your system?
|
|
|
01-26-2010, 04:14 PM
|
#3
|
Member
Registered: Dec 2008
Location: Spanaway, Wa
Distribution: Kernel Linux 3.6-4.slh.1-aptosid-amd64
Posts: 44
Original Poster
Rep:
|
Quote:
Originally Posted by manwichmakesameal
Have you done a slocate on gksu-run-helper or make sure it is executable if it's on your system?
|
when I run that in terminal it gives no output, just pauses and gives the command line again.
thanks,
john
|
|
|
01-26-2010, 06:32 PM
|
#4
|
Member
Registered: Aug 2006
Distribution: Slackware
Posts: 804
Rep: 
|
So, that means it's not there or the database needs to be updated. Do you still have the package you built? If you do, try to explodepkg your compiled package and see if it's in there anywhere. How did you build the package? Do you have multi-lib compat installed? If you have it installed, you can build the package and the executables will end up in /usr/bin/32. Maybe look there?
|
|
1 members found this post helpful.
|
01-26-2010, 06:47 PM
|
#5
|
Member
Registered: Dec 2008
Location: Spanaway, Wa
Distribution: Kernel Linux 3.6-4.slh.1-aptosid-amd64
Posts: 44
Original Poster
Rep:
|
Thanks for the response. I checked in /usr/bin and found gksu only, then /usr/bin/32 and didn't find anything.
I went to slackbuild.org and downloaded gksu and libgksu and the things that were required: ORBit2, gnome-keyring, libgtop, and GConf. I downloaded the source and the slackbuild and then I built and intalled each one. libgksu required libgtop, GConf and gnome-keyring and one of those required ORBit2.
I used ark and looked at the package that was created by gksu and it doesn't contain anything named gksu-run-helper.
I might add that I have just switched to Slackware and 64 bit OS. I tried Fedora for about a week and it was too much like MS. I used Zenwalk for a couple of years and loved it so thought I would try Slackware.
thanks for your help,
john
|
|
|
01-26-2010, 07:14 PM
|
#6
|
Member
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215
Rep:
|
Sorry, can't help with building gksu.
But I can suggest a possible alternative: ktsuss
|
|
|
01-26-2010, 08:40 PM
|
#7
|
Member
Registered: Dec 2008
Location: Spanaway, Wa
Distribution: Kernel Linux 3.6-4.slh.1-aptosid-amd64
Posts: 44
Original Poster
Rep:
|
Thanks for your help. I tried ktsuss but prefer gksu. I did a google search and found that Arch, Mandriva, and Ubuntu are all having problems with it in the 64 bit versions. I'm going to keep trying. I did find the file gksu-run-helper. It was in /usr/lib64/gksu and it is executable. I think the problem is just where to put it. That seems to be the problem with the other distros.
Thanks again for your help.
john
|
|
|
01-26-2010, 09:14 PM
|
#8
|
Member
Registered: Jan 2010
Posts: 202
Rep:
|
Quote:
Originally Posted by jbs1136
Thanks for your help. I tried ktsuss but prefer gksu. I did a google search and found that Arch, Mandriva, and Ubuntu are all having problems with it in the 64 bit versions. I'm going to keep trying. I did find the file gksu-run-helper. It was in /usr/lib64/gksu and it is executable. I think the problem is just where to put it. That seems to be the problem with the other distros.
Thanks again for your help.
john
|
I believe I had a similar issue on a 64 bit server running CentOS when I installed gksu on it. I can't check to see what I did as the servers aren't running right now, but I can have one of them booted tomorrow to check out what I did exactly. As I recall, I created a symbolic link to the lib64 directory, probably from the corresponding lib directory. My memory isn't exactly impressive, so I'll have to log into the system to verify it. On my Ubuntu system I see /usr/lib/libgksu/gksu-run-helper, which might be where your system is looking for it.
I thought I'd go through the process of setting up gksu on my 12.2 laptop. Tracked down the dependencies, and went to compiling. Everything was going well until I hit eggdbus, which isn't cooperating very well. it was complaining about glib, which is where I left it.
Oh, what the hell, I'll fire up that laptop and have at it again. What's another library to compile? heh. That one might require more effort than its worth, though.
|
|
|
01-26-2010, 10:25 PM
|
#9
|
Member
Registered: Dec 2008
Location: Spanaway, Wa
Distribution: Kernel Linux 3.6-4.slh.1-aptosid-amd64
Posts: 44
Original Poster
Rep:
|
I found references through google search that implied /libgksu/gksu-run-helper was in the wrong libs. I tried linking the app to the different libs and nothing worked. I then cp -R libgksu to both /usr/lib and /lib. I used the run command and did gksu thunar. It worked fine but once I closed thunar it would no longer work. If I used system monitor I found that there were 2 instances of gnome-keyring running. If I closed them both, I could use gksu one time and then had to close gnome-keyring again. I am not sure at this point what is causing the problem. I did find some reference to problems with gnome-keyring through search but not a solution.
Thanks for the suggestions, you were right in it not being where it should. Now I just have to fine how to solve the problem with gnome-keyring. Will work on that tomorrow. My granddaughter is insisting that I stop and play with her  can't turn that down.
I'm not sure what you were talking about with eggdbus, that wasn't one of the dependencies that I ran into. I think it was post #5 where I listed the dependencies that I found that had to be installed.
john
|
|
|
01-27-2010, 08:48 AM
|
#10
|
Member
Registered: Jan 2010
Posts: 202
Rep:
|
Quote:
Originally Posted by jbs1136
I found references through google search that implied /libgksu/gksu-run-helper was in the wrong libs. I tried linking the app to the different libs and nothing worked. I then cp -R libgksu to both /usr/lib and /lib. I used the run command and did gksu thunar. It worked fine but once I closed thunar it would no longer work. If I used system monitor I found that there were 2 instances of gnome-keyring running. If I closed them both, I could use gksu one time and then had to close gnome-keyring again. I am not sure at this point what is causing the problem. I did find some reference to problems with gnome-keyring through search but not a solution.
Thanks for the suggestions, you were right in it not being where it should. Now I just have to fine how to solve the problem with gnome-keyring. Will work on that tomorrow. My granddaughter is insisting that I stop and play with her  can't turn that down.
I'm not sure what you were talking about with eggdbus, that wasn't one of the dependencies that I ran into. I think it was post #5 where I listed the dependencies that I found that had to be installed.
john
|
I read where gnome-keyring runs as a daemon, and apparently for whatever reason your implementation doesn't seem to recognize it is already running. I'd have made a symbolic link between the gksu-run-helper directories. That way if the software was updated, and everything is located in the same location, the symbolic link would point to the proper component. I don't know if that could be an issue regarding your duplicate gnome-keyring issues, but it might. Eh, probably not in reality now that I think about it.
As for eggdbus, I might have gone a little too close to the bleeding edge when I grabbed a version of gnome-keyring. Here's the beginning of a mailing list post I found on eggdbus:
*****************************
* From: David Zeuthen <david fubar dk>
* To: gtk-devel-list gnome org
* Subject: EggDBus
* Date: Sun, 21 Dec 2008 21:48:25 -0500
Hey,
For the past 5 weeks or so, I've been working on a new (as compared to
dbus-glib) D-Bus binding for GObject. The work on this has finally
reached a stage where the code sufficiently complete and documented so I
thought I'd send some mail describing it. The code is here
*****************************
eggdbus is pretty damn recent. I'm going to find a slightly older version of gnome-keyring.
|
|
1 members found this post helpful.
|
01-27-2010, 09:00 AM
|
#11
|
Member
Registered: Dec 2008
Location: Spanaway, Wa
Distribution: Kernel Linux 3.6-4.slh.1-aptosid-amd64
Posts: 44
Original Poster
Rep:
|
I started off using a symlink and switched to cp just to speed up the process for me. You are right though and once/if I get this straight I will go back and change to links. Much cleaner method.
I just took everything from slackbuild, figured it was tried and tested and safe to use. There must not be too many people here who use gksu, not a lot found on the forum. Most is suggestions to use ktsuss. I started using gksu with Zenwalk and liked it. I think mainly because it stored the password.
Thanks for your help, I'll post back if I find something new.
john
|
|
|
01-27-2010, 09:31 AM
|
#12
|
Member
Registered: Dec 2008
Location: Spanaway, Wa
Distribution: Kernel Linux 3.6-4.slh.1-aptosid-amd64
Posts: 44
Original Poster
Rep:
|
Finally, everything works. Decided to go to the gksu site, downloaded newest versions, uninstalled old version of libgksu and gksu. Edited slackbuild files, rebuilt and installed. No more problems. Ran run command with gksu thunar, closed it and ran again 2 more times. Password was stored and each time it opened up. Much have been a bug and the author fixed it. I marked the thread solved.
Thanks to you both for your help.
john
|
|
|
09-05-2011, 09:27 PM
|
#13
|
Senior Member
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092
Rep: 
|
Yes, I realize that this post is almost 2 years old but this is still an issue with with the latest libgksu Slackware64 13.37, here is a work around.
Code:
mkdir /usr/lib/libgksu
ln -s /usr/lib64/libgksu/gksu-run-helper /usr/lib/libgksu/gksu-run-helper
Works like a charm.
|
|
2 members found this post helpful.
|
07-14-2013, 12:45 AM
|
#14
|
Member
Registered: Nov 2005
Location: Brazil
Distribution: slackware64 -current
Posts: 46
Rep:
|
It reborns once again ...
Now with Slackware64 14 -current
Tried to download from home site as suggested, tried symlinks too but nothing works.
There is a little difference in the popup window text: with a fresh install after build, it says: "The gksu-run-helper command was not found or is not executable" right after the call. With a symlink ln -s /usr/lib64/libgksu/gksu-run-helper /usr/lib/libgksu/gksu-run-helper, it first ask the password and than says the same plus -nha: -while expecting: -gksu: waiting.
As far as I know gksu and the libgksu are almost gnome independent, slackpackage maintainer says it's only dependence is libgtop.
I think as posted before that gksu supersedes its alternatives like kdesu, beesu and others with some advantages including keeping the password for a while.
If anybody knows some workaround please help.
Thanks
|
|
|
All times are GMT -5. The time now is 07:16 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
|
|