gksudo just sleeps, exits without displaying anything and without error
martin f krafft
madduck at madduck.net
Sat Dec 20 14:41:32 UTC 2008
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.
ruth at brick:~$ gksudo -d synaptic
No ask_pass set, using default!
buffer: -sudo: sorry, you must have a tty to run sudo-
brute force GNOME_SUDO_PASS ended...
No password prompt found; we'll assume we don't need a password.
The culprit seems to be that sudo does not find the tty to run, but
there is definitely one. If I run the command manually:
sudo -H -S -p GNOME_SUDO_PASS -u root -- synaptic
no such error is printed.
Any idea what could be going on?
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net at madduck
there are two groups of people in the world: those who believe that
the world can be divided into two groups of people, and those who
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
More information about the ubuntu-users