Bug#522946: closed by Josselin Mouette <joss at debian.org> (reply to 522946 at bugs.debian.org) (Re: Bug#522946: gnome-network-admin: Unlock button is locked)

Ximin Luo xl269 at cam.ac.uk
Tue Apr 7 17:25:53 UTC 2009


Josselin Mouette wrote:
>> installing policykit-gnome and running /usr/lib/policykit/polkitd
> 
> You don’t need to run this by hand, it is started automatically.

This is not the case in 0.9.3, the latest version of policykit in debian - at
least, the postinst script does not start the service. Unless you mean it is
only triggered when you restart your computer, which I haven't tried yet.

> The new version of gnome-system-tools doesn’t require any of them to be
> run as root.

*Even when I run them as root*, the button is blanked out. As said in my
previous email, running users-admin seems to suggest that it thinks I am
running as my normal account, even when I run it from a root terminal or gksu:
all users are grayed out except my normal user, which I can edit. I know that
the program is *at least in some sense* running as root, because the window
theme is root's window theme (dark on light) and not my normal user's theme
(light on dark).

> I don’t understand what you are trying to achieve. If the "unlock"
> button is grayed out, it means PolicyKit, for one reason or another,
> thinks you cannot authenticate to root. I have no idea why this would
> happen with a regular setup, though.

And I have no idea why it thinks I can't authenticate to root, when I am
*already* root, from gksu. :|

$ network-admin

(network-admin:2369): Gtk-WARNING **: Unknown property: GtkComboBox.items

** (network-admin:2369): CRITICAL **: Unable to lookup session information for
process '2369'

$ gksu network-admin

** (gksu:2439): WARNING **: couldn't connect to daemon at
$GNOME_KEYRING_SOCKET: /tmp/keyring-wyQyyC/socket: Connection refused

(network-admin:2461): Gtk-WARNING **: Unknown property: GtkComboBox.items

> Have you tried reloading the D-Bus configuration (/etc/init.d/dbus
> reload) and killing any running policykit or system-tools-backends
> process, after installing policykit-gnome?

I just tried it now, it had no effect. The button was still blanked out as before.

X







More information about the pkg-gnome-maintainers mailing list