Skip to content

Running pkexec in Jessie doesn't open the GNOME prompt

Note that this only affects Tails based on Debian Jessie (feature/jessie)!

When running pkexec (like in the features/root_access_control.feature test) we do not get the GNOME password prompt, only a terminal prompt asking for the password. We install policykit-1-gnome, but polkit-gnome-autenticationagent-1 isn’t running in our session, which explains this. Manually starting it with sudo polkit-gnome-autenticationagent-1 brings the GNOME prompt back for pkexec.

So why doesn’t it autostart any more? It should be autostarted via XDG (@ /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop), which has the following criteria, which may be related:AutostartCondition: GNOME3 unless-session gnome@

Related issues

Original created by @anonym on 8256 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information