diff --git a/xfce4-session/xfsm-systemd.c b/xfce4-session/xfsm-systemd.c index 7bdd39d..90f8e2d 100644 --- a/xfce4-session/xfsm-systemd.c +++ b/xfce4-session/xfsm-systemd.c @@ -76,7 +76,7 @@ static void xfsm_systemd_init (XfsmSystemd *systemd) { systemd->authority = polkit_authority_get_sync (NULL, NULL); - systemd->subject = polkit_unix_process_new (getpid()); + systemd->subject = polkit_unix_process_new_for_owner (getpid(), 0, -1); }