[kde-linux] Konqueror as root

Alain M. alainm at pobox.com
Wed May 20 03:47:50 UTC 2009


Yees!

that was a step in the right direction. Just one problem, I get theis 
error:
$ sudo xhost +root
xhost:  bad hostname "root"

as a workaround I used
$ sudo xhost +
but I am not sure if this is the right thing.

Anyway, I am gatting the new editor as root :)

thanks,
Alain

James Richard Tyrer escreveu:
> 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.
> 



More information about the kde-linux mailing list