gksudo just sleeps, exits without displaying anything and without error

Brian McKee brian.mckee at gmail.com
Mon Dec 22 14:33:02 UTC 2008


On Sun, Dec 21, 2008 at 5:12 AM, martin f krafft <madduck at madduck.net> wrote:
> also sprach martin f krafft <madduck at madduck.net> [2008.12.20.1541 +0100]:
>> I am experiencing a strange problem with gksudo on an 8.10
>> installation. If I run something like 'gksudo synaptic' from
>> a terminal, the command seems to sleep for 3-5 seconds and then
>> returns with exit code 0. However, no password prompt was displayed,
>> and synaptic did not get started.
> [...]
>>   buffer: -sudo: sorry, you must have a tty to run sudo-
>
> This is related to the Defaults requiretty setting that puppet
> pushed to the machine. Once I disable it, the problem goes away.

What happens if you use gksu rather than gksudo ?

Brian




More information about the ubuntu-users mailing list