On 2016-11-02 08:25:34 +0100, Werner Koch wrote: > gpg conveys DISPLAY to gpg-agent so that pinentry can use the expected > display. However, if there is a still abnother pinentry open on the > otehr display you need to wait for its timeout first. > > ssh does not convey DISPLAY to gpg-agent so that you need to tell > gpg-agent about it by using > > gpg-connect-agent updatestartuptty /bye
In my case (and I suppose that this is the case of other users too), I have both the X session on the physical machine and a SSH session from a remote machine. So, the above command would not be correct, because when I go back to the X session, I still want gpg-agent to be running. The fact that gpg (which has the expected $DISPLAY) conveys DISPLAY to gpg-agent should be sufficient to tell where pinentry should open its window (or use the text terminal when DISPLAY is unset). But the problem is that this does not work. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)