On 10/04/07, HappyEvilSlosh <[EMAIL PROTECTED]> wrote:
On Tue, 2007-04-10 at 14:12 +1200, Jim Cheetham wrote:
> On 10/04/07, HappyEvilSlosh <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED]:~$ gksu xterm
> > Warning: Tried to connect to session manager, Authentication Rejected,
> > reason : None of the authentication protocols specified are supported
> > and host-based authentication failed
> > [EMAIL PROTECTED]:~$ gksu id
> > uid=0(root) gid=0(root) groups=0(root),1002(admin)
> > [EMAIL PROTECTED]:~$
>
> OK, so it's not a problem with gnome-admin-tools,

How did you get that? I thought id was provided on most systems and
gnome-admin-tools provided a front end to it? Or at least something
along those lines.

'id' is a console based tool, that doesn't have any knowledge or care
about X or GNOME. It also tests that the 'su' part of gtsu is doing
the right thing :-)

'xterm' cares about X, but not about GNOME (meh - I'm assuming that
your xterm is a real xterm, and not an alias to gterm or konsole or
something like that. If it looked ugly and boring, it was xterm :-) ).
So if you get an error invoking xterm, it's either an error in gksu
itself, or in the provision of X after gksu runs.

I don't know what's in gnome-admin-tools, I'm not running a Debian
box. Hmmm ... I could always look on packages.debian.org ... but
they're pretty slow at the moment, I guess people are hitting them
pretty hard for the Debian 4.0 release ISOs.

> it's a problem with
> gksu not correctly setting up the environment for an X connection;

Except it work fine with things like synaptic. Indeed anything not
included in the aforementioned package.

From the command line, or from the menu, or both?

The dialogue box telling you that your password is incorrect may
actually be a false diagnosis, when in fact what's happened is that
gksu (or the invoked command) has kicked an unexpected error, but when
it gets presented to the user someone has assumed that it will be
because of the most common case, an incorrect pasword.

When you run from the command line, you get the above "Authentication
Rejected" message instead of the "incorrect password" box, is that
right?

> What OS/version?
debian unstable on 2.6.18-4-686 (yeah I know I know: unstable)

Oh no, *testing* is the unstable one :-)

-jim

Reply via email to