On Friday 06 March 2009, Thomas Bohn wrote:
> I currently try to get the gpg-agent to start just one time and not
> to get one more gpg-agent session each time I log in, but it doesn't
> work.
>
> Even the hint in the gpg-agent man page won't work, I still get more
> than one gpg-agent process and more than one gpg-agent directory.

I suppose we are talking about Linux or some Unix derivative.

I run the following two commands on session start:
=====
killall gpg-agent 2>/dev/null
eval "$(gpg-agent --daemon --default-cache-ttl 36000)"
=====

Since I'm using KDE they are in a file called start-gpg-agent.sh that 
I've put into ~/.kde/env. Before that I used a custom ~/.xsession 
script.


Regards,
Ingo

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to