authentication agent and dbus services

Matthias Clasen matthias.clasen at gmail.com
Tue Dec 22 06:51:40 PST 2009


On Tue, Dec 22, 2009 at 4:21 AM, Yclept Nemo <orbisvicis at gmail.com> wrote:


[...]

>
> Unfortunately authorization cannot procede without an authentication
> agent. So, in which way should the authentication agent be started?
>
> Should a dbus service file be provided by polkit-gnome or polkit-1?
> Should an entry ~/.xinitrc or similar be used to start
> "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" alongside
> a windowmanager ?
> Should polkitd automatically spawn a default authentication-agent, one
> that works in qt/gtk/other/text-only modes ?

With polkit-1, the responsibility for starting a suitable
authentication agent lies with the user session. As you mention, for
Gnome, we install an autostart file that start
polkit-gnome-authentication-agent, but other scenarios are possible.

Matthias


More information about the polkit-devel mailing list