public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Cc: Mick <michaelkintzios@gmail.com>
Subject: Re: [gentoo-user] Starting up gpg-agent (and ssh-agent?)
Date: Tue, 25 May 2010 21:05:12 +0200	[thread overview]
Message-ID: <201005252105.23138.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <AANLkTikZ9uBiR-fj4KaK1Mv5yHeTNv66hyR0Fm5Oll8R@mail.gmail.com>

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

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

-- 
alan dot mckinnon at gmail dot com



  reply	other threads:[~2010-05-25 19:09 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 [this message]
2010-05-25 21:59   ` Mick
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=201005252105.23138.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    --cc=michaelkintzios@gmail.com \
    /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