1 |
On Tuesday 25 May 2010 17:02:55 Mick wrote: |
2 |
> Hi All, |
3 |
> |
4 |
> I have asked a similar question on this M/L in the past. There seems |
5 |
> to be different ways of making sure that gpg-agent is started prior to |
6 |
> the desktop being launched, but I can't get any of these to work with |
7 |
> enlightenment, which I am currently trying out. |
8 |
> |
9 |
> Previously, I was using almost exclusively Fluxbox, which when started |
10 |
> with startx uses /etc/X11/xinit/xinitrc.d/20-gpg-agent as detailed |
11 |
> here: |
12 |
> |
13 |
> http://bugs.gentoo.org/show_bug.cgi?id=258944 |
14 |
> |
15 |
> Starting Fluxbox using xdm was less successful. It doesn't seem to |
16 |
> read /etc/X11/xinit/xinitrc.d/20-gpg-agent. I also tried different |
17 |
> things like using ~/.xsession, or ~/.xinitrc, or hacking |
18 |
> /etc/X11/Sessions/fluxbox, but nothing appeared to work cleanly. |
19 |
> |
20 |
> Now I use kdm (with /etc/init.d/xdm) to launch enlightenment, but kdm |
21 |
> does not read /etc/X11/xinit/xinitrc.d/20-gpg-agent either. When kdm |
22 |
> is used to launch KDE then the file /etc/kde/startup/agent-startup.sh |
23 |
> is parsed and everything works as expected within KDE. Enlightenment |
24 |
> does not have anything similar and kdm itself does not read |
25 |
> /etc/kde/startup/agent-startup.sh. |
26 |
> |
27 |
> What would you recommend I use to launch gpg-agent so that it works |
28 |
> with kdm/Enlightenment? |
29 |
|
30 |
display managers do not use *xinitrc*, that is why it is failing with every dm |
31 |
you have tried |
32 |
|
33 |
Those files are read by startx and you should treats them as if they are read |
34 |
only by startx |
35 |
|
36 |
You have already found the correct way to start apps in kdm, that is where you |
37 |
should launch gpg-agent |
38 |
|
39 |
-- |
40 |
alan dot mckinnon at gmail dot com |