Message: previous - next
Month: April 2009

Re: [kubuntu-kde3.5-users] "Actions --> Edit as Root" does not work

From: Gerhard Zintel <gerhard.zintel@...>
Date: Wed, 29 Apr 2009 00:45:31 +0200
On Wednesday 29 April 2009, kb9vqf@... wrote:
> > On Tuesday 28 April 2009, Gerhard Zintel wrote:
> >> I tried to edit a text file as root by using the right mouse button menu
> >> Actions --> Edit as Root item. I am asked for my password afterwords a
> >> pop-up with title "Error - KDE Sudo" tells me: "Command not found!".
> >> Nothing more happens.
> >
> > Answering to my own posting: I realized that the path to the kde-3
> > executables
> > is set for a normal user but not for Root. I found the File responsible
> > for
> > the "Edit as Root" behaviour, it's
> > /opt/kde3/share/apps/konqueror/servicemenus/edit-as-root.desktop
> > As a work around I changed the line
> >   Exec=kdesu "kwrite" "%U"
> > into
> >   Exec=kdesu "/opt/kde3/bin/kwrite" "%U"
> >
> > That's surely not the correct way but as for now it works for me.
> >
> > Gerhard
> Hi Gerhard,
> Do you have sudo-kde3 installed?  It has /opt/kde3/bin added to the RPATH
> (root PATH variable) so that this sort of thing does not happen.
> Tim

Hi Tim,

I just realized that I have installed both, kdesudo-kde3 and kdesudo. I don't 
know how this happens. The same is for konsole and konsole-kde3. Might it be 
that with default Ubuntu Jaunty install those packages are installed by 

By deinstallation of kdesudo the two packages update-manager-kde and 
update-notifier-kde are deinstalled. Is there a replacement in KDE3?

After deinstallation of kdesudo I changed the file edit-as-root.desktop to 
it's original state but now I have the same problem like before:  "Command 
not found!"

Thank you