If I invoke "pkexec /bin/bash" in my shell, then I find that $XDG_SESSION_ID and friends which are set via pam_systemd don't end up being set in the resulting shell. "su -" OTOH gets this right. pkexec really should honour pam_getenvlist() and merge it into the subprocess' environment block. It should consider these environment variables which are set through PAM "trusted" and not apply any filtering on these (in contrast to those it might have inherited from the caller's environment block).
Also see: https://bugzilla.redhat.com/show_bug.cgi?id=917887
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
Thanks for your report. Fixed by upstream https://bugs.freedesktop.org/show_bug.cgi?id=62016 .
polkit-0.111-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/polkit-0.111-1.fc19
Package polkit-0.111-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing polkit-0.111-1.fc19' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-8364/polkit-0.111-1.fc19 then log in and leave karma (feedback).
polkit-0.111-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.