[xmonad] darcs patch: add SshAgent module, to start ssh-agent when needed.

David Roundy droundy at darcs.net
Mon Mar 31 10:29:08 EDT 2008


On Sun, Mar 30, 2008 at 02:35:00PM +0100, Jamie Webb wrote:
> On 2008-03-29 12:55:15 David Roundy wrote:
> > I'm sending this rather than pushing, since we're close to a
> > release.  It's a new module to automatically start an ssh-agent, if
> > one isn't running.  I expect to find it useful.  The reason for this
> > is that the ordinary mechanism for starting a single ssh-agent for an
> > X session doesn't seem to be working for me.  And starting xmonad
> > with `ssh-agent xmonad` does no good, because the ssh-agent exits as
> > soon as I restart xmonad.
> 
> My .xsession has
> 
>   eval `ssh-agent`
> 
> before it starts xmonad, and it seems to work fine. Does this not work
> for you?

I don't know, it might.  But I'm not going to restart X to find out.  And I
normally don't use a .xsession, since I use kdm to start xmonad.  Except
that right now I'm using a vnc most of the time, and that has its own file
similar to .xsession.
-- 
David Roundy
Department of Physics
Oregon State University


More information about the xmonad mailing list