Le Jeudi 6 F�vrier 2003 13:49, Guillaume Rousse a �crit :
> Le Jeudi 6 F�vrier 2003 13:23, Pascal Cavy a �crit :
> > 1. I wonder if this is the right place to call the script
> > (would it work if one uses startx instead of desktop login ?)
>
> flepied suggested to use a specific script in /etc/X11/xinit.d/  instead,
> see http://www.mail-archive.com/[email protected]/msg80761.html

won't work because executables in xinit.d are called in a child shell, so the 
exported variable GPG_AGENT_INFO is no more available upon return
my script has to be called in the same env of the caller ie:
  . (dot space) /etc/X11/xinit/gpgagent

>
> > 2. when ok, could it be added to xinitrc RPM ?
>
> better in the package providing gpg-agent

hummm the adaptation on ssh-agent is in xinitrc RPM IIRC... ?
-- 
Pascal Cavy - VMF
__________________________________________________________________
Running 6 days, 20:35,  8 users,  load average: 0.16, 0.11, 0.14
(gcc version 3.2.1 (Mandrake Linux 9.1 3.2.1-4mdk))
Kernel Linux version 2.4.21pre4-1mdkenterprise


Reply via email to