[kde-linux] Konqueror as root
James Richard Tyrer
tyrerj at acm.org
Wed May 20 00:02:23 UTC 2009
Alain M. wrote:
> Thanks g but...
>
> The problem is NOT opening 'konqueror --profile filemanagement' as root,
> BUT then when IT invokes kwrite it is NO LONGER as root.
>
> and only on Kubuntu
>
> Thanks,
> Alain
>
> g escreveu:
>> Alain M. wrote:
>>
>>> Does anyone hava a clue about this?
>> i created a 'konqueror --profile filemanagement' selection under 'system'
>> in 'kde menu editor'. then i set an icon in .quick launch'.
>>
>> when selected, you will be asked for route password and konqueror will
>> open in a 'root mode'.
>>
>> works great.
>>
The problem you describe is not new, it is the same in KDE-3.5.
IIUC, to solve it, you need to use:
kdesu konqueror --profile filemanagement
Does this work in KDE-4.x? NO! The command: "kdesu" seems to have gone
missing.
There is clearly a problem here. The 'desktop' file (menu entry):
$KDEDIR/share/applications/kde4/konquerorsu.desktop
is hidden? That is, it contains:
NoDisplay=true
Is this because it doesn't work?
Have you tried (in a Konsole):
xhost +root
su -c"konqueror --profile filemanagement"
{enter password}
Does that work? IWFM on KDE-3.5, so if it doesn't work on KDE-4.x, you
have a bug.
Using "sudo" does not work because it only grants root privilege. There
is a difference between running with root privilege and actually running
as the root user. This means that you need to have a properly setup
root account.
Note, if the above doesn't work, there are more complicated ways of
doing it that might, but the above doesn't require that you know the
name of the display.
--
JRT
Linux (mostly) From Scratch
More information about the kde-linux
mailing list