Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Starting up gpg-agent (and ssh-agent?)
Date: Tue, 25 May 2010 22:00:39
Message-Id: 201005252259.56609.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Starting up gpg-agent (and ssh-agent?) by Alan McKinnon
1 On Tuesday 25 May 2010 20:05:12 Alan McKinnon wrote:
2 > On Tuesday 25 May 2010 17:02:55 Mick wrote:
3 > > Hi All,
4 > >
5 > > I have asked a similar question on this M/L in the past. There seems
6 > > to be different ways of making sure that gpg-agent is started prior to
7 > > the desktop being launched, but I can't get any of these to work with
8 > > enlightenment, which I am currently trying out.
9 > >
10 > > Previously, I was using almost exclusively Fluxbox, which when started
11 > > with startx uses /etc/X11/xinit/xinitrc.d/20-gpg-agent as detailed
12 > > here:
13 > >
14 > > http://bugs.gentoo.org/show_bug.cgi?id=258944
15 > >
16 > > Starting Fluxbox using xdm was less successful. It doesn't seem to
17 > > read /etc/X11/xinit/xinitrc.d/20-gpg-agent. I also tried different
18 > > things like using ~/.xsession, or ~/.xinitrc, or hacking
19 > > /etc/X11/Sessions/fluxbox, but nothing appeared to work cleanly.
20 > >
21 > > Now I use kdm (with /etc/init.d/xdm) to launch enlightenment, but kdm
22 > > does not read /etc/X11/xinit/xinitrc.d/20-gpg-agent either. When kdm
23 > > is used to launch KDE then the file /etc/kde/startup/agent-startup.sh
24 > > is parsed and everything works as expected within KDE. Enlightenment
25 > > does not have anything similar and kdm itself does not read
26 > > /etc/kde/startup/agent-startup.sh.
27 > >
28 > > What would you recommend I use to launch gpg-agent so that it works
29 > > with kdm/Enlightenment?
30 >
31 > display managers do not use *xinitrc*, that is why it is failing with every
32 > dm you have tried
33 >
34 > Those files are read by startx and you should treats them as if they are
35 > read only by startx
36
37 Ahhh! I see ...
38
39
40 > You have already found the correct way to start apps in kdm, that is where
41 > you should launch gpg-agent
42
43 Hmmm, you lost me there Alan. I have noticed that launching KDE with kdm
44 reads the /etc/kde/startup/agent-startup.sh file, but that is not the case
45 when I use kdm to launch other WMs, like fluxbox or enlightenment.
46
47 Enlightenment has its own startup directory for launching applications at
48 start up (.e/e/applications/startup/), but placing in there the agent-
49 startup.sh file does not launch gpg-agent. :-(
50 --
51 Regards,
52 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Starting up gpg-agent (and ssh-agent?) Mick <michaelkintzios@×××××.com>