On Tue, 25 Apr 2017 16:21:21 -0400 Daniel Kahn Gillmor <d...@fifthhorseman.net> wrote:
> Control: tags 861050 + moreinfo > > On Mon 2017-04-24 02:24:37 +0200, does not starts wrote: > > > Upon xsession start I need to have variable GPG_AGENT_INFO for one older > > program as described in > > https://wiki.debian.org/Teams/GnuPG/UsingGnuPGv2#GPG_AGENT_INFO_variable > > What older program do you need this for? We should fix that program. https://packages.debian.org/stretch/gjots2 > > It should be probably done through the script > > /etc/X11/Xsession.d/90gpg-agent. > > But is not. Manual execution of commands from this script: > > agent_sock=$(gpgconf --list-dirs agent-socket) > > export GPG_AGENT_INFO=${agent_sock}:0:1 > > sets this variable properly to $GPG_AGENT_INFO = > > /run/user/1000/gnupg/S.gpg-agent:0:1 > > > > Why is script /etc/X11/Xsession.d/90gpg-agent not automatically parsed? > > how does your start X11? do you have a display manager? if so, which > one? do you log in from the text-mode console? > I am starting Xfce4 desktop with Lightdm display manager. I tried also to disable Lightdm and start Xsession only with startx command, but variable GPG_AGENT_INFO was also not set.