gksudo just sleeps, exits without displaying anything and without error

martin f krafft madduck at madduck.net
Sun Dec 21 10:12:34 UTC 2008

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.

martin | http://madduck.net/ | http://two.sentenc.es/
this space intentionally left occupied.
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081221/44bb8bc7/attachment.pgp>

More information about the ubuntu-users mailing list