Gksu error Slackw14.1 and Mate 1.6
Hi,
I have installed Slackware 14.1 and Mate 1.6 from mateslackbuilds. Everything works very well so far, except for gksu. When I run "gksu /usr/sbin/gparted", I get the following error: Failed to run /usr/sbin/gparted as user root. Failed to communicate with gksu-run-helper What can the problem be? Thanks for the help in advance. |
You are right
this is a confirmed bug Thanks for reporting.. |
Not at all. Since I have used Mate on Slackware intensive, every day for more than one year (first Salix and now your packages), I will send you my report of accidental bugs if any occurs.
When could we get its correction? |
OK, libgksu has been updated in our repository and git as well
please get the latest libgksu and upgrade to that version it should fix this problem |
I have upgraded with the new version, but the problem still persists.
|
My fault.... i didn't properly checked the symlink created
Building a new version now |
And it's uploaded now
|
Upraded, but neither gksu nor gksudo does work. The problem still existst.
|
What's your architecture? 32/64 bit?
If you are using 64 bit, can you show the output of Code:
ls -al /usr/lib/libgksu/ |
I tested with gksu /usr/sbin/parted since i don't have gparted on my system and it asked for root password here
|
I think this is a bug which can't be fixed as there's no more development upstream.
I searched for other distributions and they don't plan to fix this either |
Workaround in the meantime.
Alternatively, use good old fdisk. Cheers, Niki |
it did work on Slackware 14.0
Probably it don't get along well with newer libraries |
Done, now added this issue into KNOWN_ISSUES
|
Thanks for the help, anyway all other things run well so far.
|
Thanks for using and testing MSB :)
Glad you enjoyed it |
I found the solution, you have to install the package gnsu-0.2-noarch-1gv.txz from salix repository, and it works.
|
yes, i noticed that one, but that one uses sudo and it requires users to change /etc/sudoers
while this worked for MATE 1.6, probably it will not work with MATE 1.8 since mate-file-manager-gksu is now merged along with other mate-file-manager plugins to a single caja-extensions package |
Why wouldn't it work with mate 1.8? If it needs gksu, it will work with the gnsu package. If it doesn't need gksu, then you don't have a problem in the first place. The way you package the extension, as a single package or in package that includes multiple extensions, makes absolutely no difference.
|
Quote:
willysr, would you be willing to test my shadow patches (one at a time) to see if that resolves the OP's report? If I'm right, re-building shadow with either patch should solve this issue. --mancha |
using the first patch, the problem still persists
edit: previous attempt was being done with PAM package installed. Now it's gone :) edit 2: both attempts failed to solve the problem :) |
@willysr: Many thanks for testing things but it seems your system is non-standard enough to make troubleshooting a bit more challenging (too many variables). It will probably be more efficient if I work directly with the OP.
@aszabo: I know you've fixed your problem by using gnsu (sudo frontend) instead of gksu (su frontend). However, it would be valuable if you would temporarily revert to your original setup (where gksu was failing) and upgrade your shadow package with my patched version. I have placed the full set of files needed for building here. The only changes I've made to Slackware's 14.1 shadow source files are: 1) editing shadow.Slackbuild so my patch is applied and changing the package name to include a "_mancha" suffix and 2) including my two patches (only one is applied). Please let me know if this changes your gksu behavior. Thanks. --mancha |
Hi, the problem is solved with your pathed shadow package, many thanks for it.
|
Quote:
If you're willing to spend a bit more time troubleshooting, it would be good if you rebuilt shadow using the "relax" patch instead of "revert" by changing line 74 of shadow.SlackBuild from: Code:
patch -p1 --verbose < $CWD/shadow-4.1.5.1_CVE-2005-4890_revert.diff || exit 1 Code:
patch -p1 --verbose < $CWD/shadow-4.1.5.1_CVE-2005-4890_relax.diff || exit 1 --mancha |
Good to hear that the patch worked :)
yes, i probably have a non-standard environment since i do most of my testing here on my desktop For now, i'll wait for upstream (Slackware) to decide on this. MSB and SBo will get the benefit if this problem is fixed upstream |
I can confirm that the shadow package with relax.diff works too.
|
Quote:
--mancha |
For me also both the packages worked.
|
hi mancha,
I applied your patch and I still get this error: The gksu-run-helper command was not found or is not executable. (when I Alt+f2 gksu thunar) however, running gksu will bring up a window that prompts me to enter the command and user and it seems to run fine. Any ideas as to how I can get the Alt+f2 function to work? thanks in advance. --scarrs EDIT I got gksu to work using the root password by doing the following: mkdir /usr/lib/libgksu ln -s /usr/lib64/libgksu/gksu-run-helper /usr/lib/libgksu/gksu-run-helper is this acceptable or is it me and I should be able to enter my user passwd instead of the root passwd? |
Quote:
But I downloaded gksu, libgksu, and libgtop from SBo to see if I could help. I can reproduce your issue on x86_64 Slackware and tracked down the problem. The patch I prepared corrects things. Place it in the "patches" dir, make the following change to the SlackBuild script, and rebuild: Code:
--- libgksu.SlackBuild.SBo |
Applied on SlackBuilds, thanks to Mancha
|
Well Willysr I really enjoy the mate desktop you did. and added it to one of my favorites. keep up the good work.
that fix can be handle with a simple command . |
True, but it would be better if it's fixed during the build, so user doesn't need to do additional efforts :)
|
Slackbuild help?
QUOTE:
"The patch I prepared corrects things. Place it in the "patches" dir, make the following change to the SlackBuild script, and rebuild:" (removed code) mancha, Could you please provide the complete and edited Slackbuild? I am somewhat a novice when it comes to editing a Slackbuild script. I have re-downloaded the patch and am awaiting instructions... --scarrs |
Quote:
Willy has commited my fixes to his SBo devel branch but they've not yet been pushed to the WWW repo. Meantime, you can get the files directly from his branch. Go to your build dir (wherever you have libgksu.SlackBuild) and run: Code:
$ wget -O libgksu.SlackBuild "http://slackbuilds.org/cgit/slackbuilds/plain/libraries/libgksu/libgksu.SlackBuild?h=willysr&id=9dd7ddc97975d3a" Code:
$ cd patches --mancha |
thank-you, but
Quote:
I would really like to have this result: Code:
gksu thunar Code:
gksudo thunar sorry for my late reply but I was just going over a few things on my system and decided to install gksu on my slackware-current x86_64 system and had the same error reproduced so I would like to fix it. I looked over the thread and have downloaded all the appropriate files and dropped them a folder called shadow with a subdir of patches with your patch as well as the unused subdir there and the patch in it. I am anxiously awaiting your reply. --G |
This problem has been fixed long time ago by Pat himself in other package (shadow)
Quote:
|
Thanks for your reply... I am on slackware-current and am using custom packages from the dropline gnome enviornment including shadow, libgksu, and gksu. the error persists. for now, I am issuing gksudo and everything works fine. I have a pretty good system set up with XFCE and am working on a bare-bones dropline gnome install (gnome doesn't load yet) but all the packages I installed work wonderfully with the XFCE desktop. perhaps I will start a new thread (here) and see what the devs have to say over there. unless of course you have a solution...
|
I don't have dropline installed, so i can't really give a solution
|
you may want to try...
you guys, you may want to try executing /usr/bin/gksu-properties and choose "sudo"
this worked for me on Slackware 14.1 with a gksu*_msb.txz package I found on the net (along with libgtop*_msb and libgksu*_msb) problem solved. |
All times are GMT -5. The time now is 08:51 AM. |