From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: X programs as root
Date: Sat, 25 Sep 2010 04:21:45 -0500 [thread overview]
Message-ID: <4C9DBF29.7030800@gmail.com> (raw)
In-Reply-To: <201009251344.49529.yohan.pereira@gmail.com>
Yohan Pereira wrote:
> On Saturday 25 September 2010 8:33:09 am Dale wrote:
>
>> Well, I don't really know what it is using. I just set up the menu item
>> to run the program as root.
>>
> i assume you mean you setup a menuitem to run a paticular application as root
> like say to run konsole/konqueror as root.
>
>
>> I don't know if it uses su -, kdesu, sudo
>>
> if its a menu item then it has to use kdesu, because sudo and su both take the
> password from teh std input (you wont get a gui prompt to enter the password),
> and nothing will happen. all you have to do is fire up the menu editor, go to
> your menu entry and make sure the command field looks like this "kdesu
> konsole", if it does look like that , try running kdesu from a konsole session
> and see what it prints out (it may not be installed for starters).
>
>
You are assuming correctly above. The way I have always had to set this
up is like this. Set up the menu item like I would with any other
user. In the Advanced tab, I set it to run as user root. When I then
select to run the item from the menu, a little GUI window will pop up
and ask me for the root password. This has worked in KDE3 for ages and
I don't recall having any trouble with it all. KDE4 has been changing
things around and I have had to rework things a couple times as KDE4
seems to keep changing the way things work.
I suspect you may be right, that it uses kdesu. Just to make sure it
wasn't a wrong version installed, this is what I have:
root@smoker / # equery list -p kdesu
* Searching for kdesu ...
[-P-] [ ] kde-base/kdesu-4.4.5:4.4
[IP-] [ ] kde-base/kdesu-4.5.1:4.5
root@smoker / #
So, I do have the latest at least. I'll try to re-emerge it although I
think I already did that once. I know I tried re-emerging some other
packages trying to get this to work again.
What gets me, I have Dolphin set up the same way, it works just fine. I
can also run Konqueror from a root Konsole and it works fine there. It
just doesn't like the menu item for some reason. I suspect it doesn't
like kdesu for some reason. Maybe it's a bug and will be fixed or it
may be a new "feature". Who knows.
Dale
:-) :-)
next prev parent reply other threads:[~2010-09-25 9:22 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-22 18:48 [gentoo-user] X programs as root Andrey Vul
2010-09-22 19:01 ` Volker Armin Hemmann
2010-09-22 19:08 ` [gentoo-user] " Nikos Chantziaras
2010-09-23 1:18 ` Dale
2010-09-24 22:24 ` Andrey Vul
2010-09-24 23:35 ` Nikos Chantziaras
2010-09-25 3:03 ` Dale
2010-09-25 7:43 ` Volker Armin Hemmann
2010-09-25 9:09 ` Dale
2010-09-25 8:14 ` Yohan Pereira
2010-09-25 9:21 ` Dale [this message]
2010-09-25 9:37 ` Yohan Pereira
2010-09-25 10:18 ` Dale
2010-09-26 11:06 ` Dale
2010-09-26 14:11 ` Robin Atwood
2010-09-26 14:28 ` Dale
2010-09-27 17:54 ` Helmut Jarausch
2010-10-05 5:22 ` Andrey Vul
2010-10-17 12:45 ` Kevin O'Gorman
2010-10-17 13:00 ` Nikos Chantziaras
2010-10-17 13:03 ` Nikos Chantziaras
2010-10-17 15:37 ` Alan McKinnon
2010-10-17 17:13 ` Kevin O'Gorman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C9DBF29.7030800@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox