On Monday 28 March 2005 09:31, you wrote:
Hi

> Did you uncomment the "use-agent" line in ~/.gnupg/gpg.conf ?

Yes.

> > I start my Xsession via a KDM login, in case that is relevant.
>
> If yes: Can you please add
>
>  exec >/tmp/gpgstart.log 2>&1
>  set -xv
>
> to the beginning (well, after the #!-line) of the init script, and mail
> me that file after you've logged in again?

well, first of all, there is no sysv-init script as far as I can tell:

/usr
/usr/bin
/usr/bin/gpg-agent
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/doc
/usr/share/doc/gnupg-agent
/usr/share/doc/gnupg-agent/copyright
/usr/share/doc/gnupg-agent/changelog.gz
/usr/share/doc/gnupg-agent/changelog.Debian.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/gnupg-agent
/etc
/etc/X11
/etc/X11/Xsession.d
/etc/X11/Xsession.d/90gpg-agent

As for the Xsession.d script: It's set to non-executable and does not have a 
#! line at all:

: ${GNUPGHOME=$HOME/.gnupg}

GPGAGENT=/usr/bin/gpg-agent
PID_FILE="$GNUPGHOME/gpg-agent-info"

if grep -qs ^use-agent "$GNUPGHOME/gpg.conf" "$GNUPGHOME/options" &&
   test -x $GPGAGENT; then

   if [ -r "$PID_FILE" ]; then
       . "$PID_FILE"
   fi

   # Invoking gpg-agent with no arguments exits successfully if the agent
   # is already running as pointed by $GPG_AGENT_INFO
   if ! $GPGAGENT 2>/dev/null; then
       $GPGAGENT --daemon --sh >"$PID_FILE"
       . "$PID_FILE"
   fi

fi

Are we talking about the same scripts here?

regards,
Volker


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to