On Sat, 11 Aug 2012 13:46:32 +0100, Johnny <yggdra...@gmx.co.uk> wrote:
> diogo...@gmail.com (Diogo F. S. Ramos) writes:
> 
> > Johnny <yggdra...@gmx.co.uk> writes:
> >
> >> Is there a better way to run an authentication agent under stumpwm? How
> >> do other users do?
> >
> > I'm not entirely sure what an "authentication agent" is, but whenever I
> > have to run something along with stumpwm, I put it in my ~/.xinit or
> > start it from ~/.stumpwmrc.
> >
> > I even saw people running ssh-agent from ~/.xinit.
> 
> I don't understand the full workings, but basically an authentication
> agent is used by an application to run as another user, e.g. in this
> case I am running virt-manager as a normal user, and the authentication
> agent (when running) pops up and lets me run the application by giving
> root credentials.

For what I've read it is a bit more granular than that: it just grants
you access to a privilege application, without giving you the
credentials needed for what the application will do.

> Without this, virt-manager will not let me access the virtual
> machines.
> 
> I could probably put the command in one of the init files, but I am sure
> other users must have similar applications and wonder if there is a
> better way to resolve authentication?

I used run-prog for launching the GNOME PolicyKit agent:

(run-prog "/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1"
          :wait nil)

I do the same with all the programs I choose to run from
/etc/xdg/autostart.

Servilio

_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Reply via email to