Adept Manager crashes!
Derek Broughton
news at pointerstop.ca
Tue Nov 18 18:41:39 UTC 2008
Willy K. Hamra wrote:
> Derek Broughton wrote:
>> 316097 at gmail.com wrote:
>>
>>> Hi!
>>>
>>> When I try to run Adept it crashes, then I try to run it from a
>>> console, same thing happens, below is the output, can anyone help
>>> me?
>>>
>>> [sudo] password for pierre:
>>
>> Well, there you go... DON'T use "sudo" to execute gui apps. Use
>> "kdesudo". You're lucky it just didn't work. Sometimes when you do
>> this, it _does_ work - and then makes it impossible for you to run
>> some apps as a normal user, because root has ended up owning files in
>> your home directory.
>
> actually no. the sysmptoms you are describing, Derek, are when you run
> a GUI app from root. using "sudo su" or "sudo -i" and then running a
Actually, no. This can happen _whenever_ you use sudo. In fact, I'd
expect it to be less of a problem using "sudo su" or "sudo -i" because
those are login environments - they know where their home directory
belongs. "sudo app" runs _as_ root, but with _your_ environment.
> GUI app. as for sudo and kdesudo, they're the same. kdesudo provides a
> GUI for entering the password, but then, it uses sudo in the backend.
Yes it does. Nevertheless, "sudo" frequently misbehaves when presented
with a gui app. Consider, "sudo program" starts "sudo", then the
program. "kdesudo program" starts "a" gui app (not "program") _before_
running sudo - which gives it a chance to get the $DISPLAY and any other
information X needs, because generally "sudo" can't access your
$DISPLAY.
--
derek
More information about the kubuntu-users
mailing list