Re: Starting gpg-agent

2006-01-28 Thread Felix 'buebo' Kakrow
On Sat, 28 Jan 2006 14:25:10 -0500
Gerard Seibert <[EMAIL PROTECTED]> wrote:

> 
> Is there any special format or just an entry like this:
> 
> /usr/local/bin/gpg-agent --daemon

That should do it. The only thing to consider is that you have to
terminate commands that stay in the foreground with a '&' so that they
are detached and the next item is run. Only the last command -
'startkde' in this case - shoud be in the foreground. When this
terminates, the X session is over.

Essentially '.xinitrc' and '.xsession' are just plain shell scripts and
follow the syntax of your shell.

-- 
"This is the nineties, Bubba, and there is no such thing as paranoia. 
It's all true." 
-- Hunter S Thompson


pgpHQJ8RaGXiU.pgp
Description: PGP signature


Re: Starting gpg-agent

2006-01-28 Thread Beech Rintoul
On Saturday 28 January 2006 04:34, Felix 'buebo' Kakrow wrote:
> On Sat, 28 Jan 2006 08:19:44 -0500
>
> Gerard Seibert <[EMAIL PROTECTED]> wrote:
> > I usually start KDE with the 'startx' command. I would like to
> > start 'gpg-agent' at the same time, and possibly shut it down
> > when I exit from KDE.
> >
> > Is there a way that I can do this without having to resort to
> > manually starting gpg-agent prior to starting KDE?
>
> You can put 'gpg-agent &' into your ~/.xinitrc

Append the line "use-agent" to ~/.gnupg/gpg.conf without the quotes.

Then add the following to ~/.xinitrc before startkde:

eval "$(gpg-agent --daemon --sh)"

Beech



-- 

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgp1z6Aj85eJQ.pgp
Description: PGP signature


Re: Starting gpg-agent

2006-01-28 Thread Gerard Seibert
On Sat, 28 Jan 2006 14:34:41 +0100, Felix 'buebo' Kakrow wrote:

> Gerard Seibert <[EMAIL PROTECTED]> wrote:
> 
> > I usually start KDE with the 'startx' command. I would like to 
> > start 'gpg-agent' at the same time, and possibly shut it down 
> > when I exit from KDE.
> > 
> > Is there a way that I can do this without having to resort to 
> > manually starting gpg-agent prior to starting KDE?
> 
> You can put 'gpg-agent &' into your ~/.xinitrc

Is there any special format or just an entry like this:

/usr/local/bin/gpg-agent --daemon

placed before the 'startkde' statement?

Thanks

-- 
Gerard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Starting gpg-agent

2006-01-28 Thread Felix 'buebo' Kakrow
On Sat, 28 Jan 2006 08:19:44 -0500
Gerard Seibert <[EMAIL PROTECTED]> wrote:

> I usually start KDE with the 'startx' command. I would like to 
> start 'gpg-agent' at the same time, and possibly shut it down 
> when I exit from KDE.
> 
> Is there a way that I can do this without having to resort to 
> manually starting gpg-agent prior to starting KDE?

You can put 'gpg-agent &' into your ~/.xinitrc

-- 
"A man who has nothing for which he is willing to fight, nothing which
is more important than his own personal safety, is a miserable creature
and has no chance of being free unless made and kept so by the
exertions of better men than himself." 
-- John Stuart Mill


pgpl0vXHm6CVN.pgp
Description: PGP signature


Starting gpg-agent

2006-01-28 Thread Gerard Seibert
I usually start KDE with the 'startx' command. I would like to 
start 'gpg-agent' at the same time, and possibly shut it down 
when I exit from KDE.

Is there a way that I can do this without having to resort to 
manually starting gpg-agent prior to starting KDE?

Ciao,

-- 
Gerard Seibert
[EMAIL PROTECTED]


pgpOEQaLzE3fW.pgp
Description: PGP signature