I installed Maverick desktop edition in a VM using the ISO image.

After installation, I installed only vnc4server and ssh. I logged in
remotely and started the VNC session. I confirmed that users-admin does
not get an authorization from policy kit. No window appears that says
that it cannot get authorization. (I think that is a regression from
Lucid, by itself.)

Then, I edited the
/usr/share/polkit-1/actions/org.freedesktop.SystemToolsBackends.policy
file manually, as you described. Rather than try to figure out what
tools needed to be restarted, I rebooted after each change to this file.
This is very fast in a VM on my box, so I figured it would be good to
eliminate all variables. In this first edit, I only changed allow_active
to allow_any in both sections of the file and deleted the allow_inactive
lines. After doing so, I was able to get authorized in users-admin
running in the VNC session. I was not able to get authorized in users-
admin running in a local GDM session however.

Next, I edited the policy file manually again, adding back the original
<allow_active> lines. Again, I rebooted. At this point, I was able to
get authorized in users-admin in both the VNC session and the local GDM
session. Great news!

Finally, I upgraded to the latest packages with "apt-get update && apt-
get upgrade". I changed nothing in /etc/apt, either manually or using
the "Software Sources" GUI. After all of the packages had been
downloaded and installed, I rebooted again. In this final state, I can
no longer get authorization in users-admin running in the VNC session.
It still works in the local GDM session however. The policy file has not
been modified or overwritten by the upgrade process.

-- 
users-admin cannot get authorized from policy kit in VNC session
https://bugs.launchpad.net/bugs/668901
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

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

Reply via email to