polkit-github-migration-bot / t4_polkit

Other
0 stars 0 forks source link

Is there a way of setting runtime dir when running pkexec #198

Open polkit-github-migration-bot opened 1 year ago

polkit-github-migration-bot commented 1 year ago

In gitlab.freedesktop.org by joantolo on May 5, 2023, 18:31

Link to the original issue: https://gitlab.freedesktop.org/polkit/polkit/-/issues/196 I'm trying to use pkexec to configure gsettings of gdm user, but it doesn't set XDG_RUNTIME_DIR so it fails.

Is it possible to have an option or some workaround to use pam_systemd to allow this?