[kde-linux] Help needed: KAuth and SystemSettings.
kutulu at kutulu.org
Thu Mar 25 19:48:17 UTC 2010
On 3/25/2010 2:39 PM, James Tyrer wrote:
> If you are running KDE-4.4.x, can you set the Date and Time Zone using
> "System Settings:: General -> Date & Time"? If so, what binary did you
> install? Can you do this as user by doing an authentication with the
> root password or otherwise?
> So, now I should be able to do everything as any user. Well I can NOT,
> so I need help to determine if this is a bug. I can set the Date, but
> when I try to set the Time Zone, the "Apply" button is not enabled. This
> looks like a bug since if I change the Date too, I can change the Time Zone.
I am using Gentoo's latest ~amd64 ebuilds, which are 4.4.1 (fetched
3/2/10), and I'm seeing behavior similar to this using the default
policy files from the systemsettings package. I cannot set the date and
time as a regular user , and I get an error ("Unable to
authenticate/execute the action") instead of a prompt to authenticate as
I don't have an entry in System Settings for PolicyKit, although polkit,
polkit-kde, and polkit-qt are all installed. I also have 0.95.1, though
I guess I could build the trunk versions and try again:
[I] sys-auth/polkit (0.96-r1 at 3/24/10)
[I] sys-auth/polkit-kde (0.95.1 at 2/16/10)
[I] sys-auth/polkit-qt (0.95.1 at 2/16/10)
However, I was able to manually change the policy settings from
"auth_admin" to "yes" and restart polkitd, and change the Date/Time/TZ
as a normal user, with no root authentication.
One thing I did notice, is that I have no KDE policy files in
/usr/share/PolicyKit/policy. I do have a few policy files there, from
hal, but according to pkaction those are being ignored. The policy
files for KDE, on this machine anyway, are in /usr/share/polkit-1/actions.
I would suggest first verifying that the policykit changes you think you
are making are actually taking effect:
platypus ~ # pkaction --action-id org.kde.kcontrol.kmclock.save --verbose
implicit inactive: no
implicit active : yes
More information about the kde-linux