Subject: | |
From: | |
Reply To: | |
Date: | Fri, 2 Dec 2011 09:14:54 +0100 |
Content-Type: | multipart/signed |
Parts/Attachments: |
|
|
Am 02.12.2011 03:52, schrieb Todd And Margo Chester:
> Hi All,
>
> I can run the following from the command prompt without problem:
>
> /usr/bin/gpg -z 0 --output /mnt/ShinyStick \
> /2011-11-29_OurStuffDump.gz.gpg \
> -c /lin-bak/2011-11-29_OurStuffDump.gz
>
> But, when I run it from a batch script. I do not get the graphical
> pop up asking for my passphrase. Instead I get:
>
> (pinentry-gtk-2:25253): Gtk-WARNING **: cannot open display: :0.0
> gpg-agent[25252]: can't connect server: ec=4.16383
> gpg-agent[25252]: can't connect to the PIN entry module: End of file
> gpg-agent[25252]: command get_passphrase failed: No pinentry
> gpg: problem with the agent: No pinentry
> gpg: error creating passphrase: Operation cancelled
> gpg: symmetric encryption of `/lin-bak/2011-11-29_OurStuffDump.gz'
> failed: Operation cancelled
>
>
> I have tried DISPLAY three ways:
> export DISPLAY=:0.0
> export DISPLAY=127.0.0.1:0.0
> and no export
>
> What am I doing wrong?
>
> Many thanks,
> -T
>
> (pinentry-gtk-2:25253): Gtk-WARNING **: cannot open display: :0.0
> gpg-agent[25252]: can't connect server: ec=4.16383
> gpg-agent[25252]: can't connect to the PIN entry module: End of file
> gpg-agent[25252]: command get_passphrase failed: No pinentry
> gpg: problem with the agent: No pinentry
> gpg: error creating passphrase: Operation cancelled
> gpg: symmetric encryption of `/lin-bak/2011-11-29_OurStuffDump.gz'
> failed: Operation cancelled
Disable gpg-agent inside you ~/.gnupg/gpg.conf
Cheers,
Frank
|
|
|