I just tried Hardy, and this behaves as expected for me.

The Unlock button should always be greyed out in users-admin by default
when running over a SSH session, as the default Ubuntu policy for this
action is to only grant authorization when running on the active
console. A SSH session can never be on the active console.

The Unlock button in users-admin is active for me over VNC when the
users session on the local machine is on the active console. If the
users session is on an inactive console, PolicyKit will not grant any
authorization, as this is the default Ubuntu policy (which you can
adjust BTW).

The empty output of "polkit-auth --show-obtainable" is what I would
expect to see if the session that is called from is not on the active
console, unless you have altered the Policykit settings on your machine.

For those of you experiencing a problem, please provide the output of
the following commands (obtained from within your VNC session only):

"ck-list-sessions"
"polkit-auth --show-obtainable"
"dbus-send --system --dest=org.freedesktop.ConsoleKit --type=method_call 
--print-reply /org/freedesktop/ConsoleKit/Manager 
org.freedesktop.ConsoleKit.Manager.GetCurrentSession"

Thanks in advance

-- 
policykit not available over Vnc sessions
https://bugs.launchpad.net/bugs/238799
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to