LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 06-06-2011, 09:14 AM   #1
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 432

Rep: Reputation: 19
How do I get kdesu back? Kubuntu only offers kdesudo.


I've just installed kubuntu 11.04, and it looks good.

I need kdesu, but only kdesudo appears to be offered. It is a poor substitute, lacking the "Ignore" button. It probably has one, since I found it has a --noignorebutton option to turn it off, but as the option is not used anywhere it appears that the kubuntu maintainers have set it as default.

I've done a bit of digging, and found kdesu hiding in
Code:
/usr/lib/kde4/libexec/kdesu-distrib/kdesu
Code:
# update-alternatives kdesu /usr/lib/kde4/libexec/kdesu-distrib/kdesu
made it available.

Problem solved. Hope this helps others...

Jim

On my system, kdesu hangs if my lowercase password is entered in uppercase.

Last edited by CollieJim; 06-07-2011 at 02:47 AM.
 
Old 06-12-2011, 02:18 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hi,

Good to hear you've found a solution. Have fun with Linux. Off the Zero Reply List.

Kind regards,

Eric
 
Old 04-13-2012, 02:05 AM   #3
beerslayer
LQ Newbie
 
Registered: Apr 2012
Location: /universe/milkyway/earth/usa/california/north
Distribution: Kubuntu 10.10 (Maverick)
Posts: 1

Rep: Reputation: Disabled
Exclamation

I know this is an old thread, but I thought this post was still relevant, on the chance that this information might help someone else out there:

I did find the kdesu program in the same place listed by CollieJim, but the update-alternatives command didn't work on my Kubuntu 10.10 (Maverick) system as given above.

What DID work was to run update-alternatives, but with a slightly different set of parameters:
Code:
user@machine:~$ sudo update-alternatives --config kdesu
(If I omit 'sudo ' from the beginning, the command displays correctly but cannot save any changes.)

That command brings up the following on my system:
Code:
user@machine:~$ sudo update-alternatives --config kdesu
There are 2 choices for the alternative kdesu (providing /usr/lib/kde4/libexec/kdesu).

  Selection    Path                                       Priority   Status
------------------------------------------------------------
* 0            /usr/bin/kdesudo                            100       auto mode
  1            /usr/bin/kdesudo                            100       manual mode
  2            /usr/lib/kde4/libexec/kdesu-distrib/kdesu   50        manual mode

Press enter to keep the current choice[*], or type selection number:
Simply press '2' and Enter, and the alternatives system remembers that choice as the default. Now 'kdesu' seems to run fine on my system.

Last edited by beerslayer; 04-13-2012 at 02:06 AM. Reason: minor rewording
 
Old 04-13-2012, 03:58 AM   #4
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 432

Original Poster
Rep: Reputation: 19
Thanks for that, beerslayer. I'll try it next time I boot kubuntu. What I did get working hung if an incorrect password was entered.
 
Old 04-13-2012, 01:30 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
Not sure about kubuntu but on Debian all you need to do is

as root run
Code:
ln -s /usr/lib/kde4/libexec/kdesu /usr/bin/kdesu
Debian User Forums • View topic - HOWTO - get kdesu back to normal in KDE4 - http://forums.debian.net/viewtopic.php?f=16&t=40158
 
Old 09-21-2012, 08:34 AM   #6
sotel
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by craigevil View Post
Code:
ln -s /usr/lib/kde4/libexec/kdesu /usr/bin/kdesu
Bad idea. As you can see in your cited thread

Quote:
Originally Posted by craigevil View Post
Debian User Forums View topic - HOWTO - get kdesu back to normal in KDE4 - http://forums.debian.net/viewtopic.php?f=16&t=40158
the proper way to solve this is:
Code:
dpkg-reconfigure --priority=low kdesudo
Also
Code:
man update-alternatives
will give you more infos and the undestanding of update-alternatives. And why you should use this way.
 
Old 09-21-2012, 10:16 AM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
Cool

Quote:
Originally Posted by sotel View Post
Bad idea. As you can see in your cited thread



the proper way to solve this is:
Code:
dpkg-reconfigure --priority=low kdesudo
Also
Code:
man update-alternatives
will give you more infos and the undestanding of update-alternatives. And why you should use this way.

Neat.
After almost 9 years of running I do know about update-alternatives.

Last edited by craigevil; 09-21-2012 at 10:17 AM.
 
  


Reply

Tags
kdesu, kubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] strace kdesu konqueror & > ./strace_kdesu (diagnosing failing kdesu) GrapefruiTgirl Linux - Desktop 23 11-02-2009 05:03 PM
Need help getting old amarok back in Kubuntu 9.04 lekremyelsew Ubuntu 1 05-06-2009 08:47 AM
LXer: Microsoft offers cash back search LXer Syndicated Linux News 0 05-21-2008 08:40 PM
Programs started with kdesu aren't showing in my kubuntu quincy_the_penquin Linux - Newbie 3 07-03-2006 06:13 AM
Kubuntu + using kdesu kcontrol networking Genjix Linux - Networking 4 07-07-2005 08:52 AM


All times are GMT -5. The time now is 08:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration