FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

LinkBack Thread Tools
Old 12-20-2008, 01:41 PM
martin f krafft
Default gksudo just sleeps, exits without displaying anything and without error

Hi folks,

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@brick:~$ gksudo -d synaptic
No ask_pass set, using default!
xauth: /tmp/libgksu-3luujN/.Xauthority
STARTUP_ID: gksu/synaptic/9641-0-brick_TIME811463820
cmd[0]: /usr/bin/sudo
cmd[1]: -H
cmd[2]: -S
cmd[3]: -p
cmd[5]: -u
cmd[6]: root
cmd[7]: --
cmd[8]: synaptic
buffer: -sudo: sorry, you must have a tty to run sudo-
buffer: --
brute force GNOME_SUDO_PASS ended...
No password prompt found; we'll assume we don't need a password.
xauth: /tmp/libgksu-3luujN/.Xauthority
xauth_env: (null)
dir: /tmp/libgksu-3luujN

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@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@madduck.net
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Thread Tools

All times are GMT. The time now is 12:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org