public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Starting up gpg-agent (and ssh-agent?)
Date: Tue, 25 May 2010 22:59:45 +0100	[thread overview]
Message-ID: <201005252259.56609.michaelkintzios@gmail.com> (raw)
In-Reply-To: <201005252105.23138.alan.mckinnon@gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 2203 bytes --]

On Tuesday 25 May 2010 20:05:12 Alan McKinnon wrote:
> On Tuesday 25 May 2010 17:02:55 Mick wrote:
> > Hi All,
> >
> > I have asked a similar question on this M/L in the past.  There seems
> > to be different ways of making sure that gpg-agent is started prior to
> > the desktop being launched, but I can't get any of these to work with
> > enlightenment, which I am currently trying out.
> >
> > Previously, I was using almost exclusively Fluxbox, which when started
> > with startx uses /etc/X11/xinit/xinitrc.d/20-gpg-agent as detailed
> > here:
> >
> > http://bugs.gentoo.org/show_bug.cgi?id=258944
> >
> > Starting Fluxbox using xdm was less successful.  It doesn't seem to
> > read /etc/X11/xinit/xinitrc.d/20-gpg-agent.  I also tried different
> > things like using ~/.xsession, or ~/.xinitrc, or hacking
> > /etc/X11/Sessions/fluxbox, but nothing appeared to work cleanly.
> >
> > Now I use kdm (with /etc/init.d/xdm) to launch enlightenment, but kdm
> > does not read /etc/X11/xinit/xinitrc.d/20-gpg-agent either.  When kdm
> > is used to launch KDE then the file /etc/kde/startup/agent-startup.sh
> > is parsed and everything works as expected within KDE.  Enlightenment
> > does not have anything similar and kdm itself does not read
> > /etc/kde/startup/agent-startup.sh.
> >
> > What would you recommend I use to launch gpg-agent so that it works
> > with kdm/Enlightenment?
> 
> display managers do not use *xinitrc*, that is why it is failing with every
>  dm you have tried
> 
> Those files are read by startx and you should treats them as if they are
>  read only by startx

Ahhh! I see ...


> You have already found the correct way to start apps in kdm, that is where
>  you should launch gpg-agent

Hmmm, you lost me there Alan.  I have noticed that launching KDE with kdm 
reads the /etc/kde/startup/agent-startup.sh file, but that is not the case 
when I use kdm to launch other WMs, like fluxbox or enlightenment.

Enlightenment has its own startup directory for launching applications at 
start up (.e/e/applications/startup/), but placing in there the agent-
startup.sh file does not launch gpg-agent.  :-(
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-05-25 22:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-25 15:02 [gentoo-user] Starting up gpg-agent (and ssh-agent?) Mick
2010-05-25 19:05 ` Alan McKinnon
2010-05-25 21:59   ` Mick [this message]
2010-05-28 17:30     ` Mick
2010-05-25 19:24 ` Jacob Todd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201005252259.56609.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox