Many questions

Derek Broughton news at pointerstop.ca
Mon Jul 25 19:45:03 UTC 2005


Martin J Hooper wrote:

> Derek Broughton wrote:
>>>In a terminal do
>>>
>>>sudo kcontrol
>>>
>>>put your password in and it should work.
>> 
>> 
>> Not usually...  iirc, you'd need to do something with xhost to do that. 
>> Use "kdesu" instead of "sudo".
> 
> Works for me... ;)  Not sure why if thats the case...

How remarkable.  I shouldn't open my mouth (at least figuratively) without
checking my facts.  My experience with KDE apps has always been that
attempting to run them under sudo results in something like "unable to
connect to display 0:0", unless you do something with xhost, whereas kdesu
handles it.  A quick attempt to "sudo kate" resulted in "ERROR:
Communication problem with kate, it probably crashed" but not the "unable
to connect" message, otoh, "sudo kcontrol" seems to work fine.

Still, I'd recommend "kdesu" for starting up X apps as root, rather than
sudo, just because it _always_ works.
-- 
derek





More information about the kubuntu-users mailing list