http://qa.mandrakesoft.com/show_bug.cgi?id=2493





------- Additional Comments From [EMAIL PROTECTED]  2003-06-09 05:12 -------
My current solution is to have the patch applied to /etc/X11/Xsession, and the 
script it /etc/X11/xinit 
 
>From what i understand, the new /etc/X11/xinit.d dir magic allows to drop the 
patch, provided the startup script has an additional "# to be sourced" 
comment. Just tell me if I'm correct, I'll this modified script to newpg 
package. 
 
However, i find it a bit awful to have similar processes (ssh-agent and 
gpg-agent) handled differently. Maybe the code in /etc/X11/Xsession related to 
ssh-agent could be transformed into some magic script for /etc/X11/xinit.d 
too, that would belong to openssh-clients package ? 
 
BTW: 
- this does constitute a bug for kmail, as crypto plugin doesn't work as 
expected 
- this agent is also useful for standard gpg use, not just for kmail 

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEW
creation_date: 
description: 
It would be great if gpg-agent could be automatically started at X start when people 
use kmail AEGYTEN crypto plugins. 
 
The attached patch and script I currently use could make it. 
 
The patch ensure that if the script is installed it is run in the current shell 
context 
(this is very important to get the GPG_AGENT_INFO env variable available on the 
desktop) 
 
The script kills all previous gpg-agent process for the user login in and starts a new 
one, exporting the correct env variable.

Reply via email to