On 2015-11-25 09:45, Dmitry Bely wrote:
Hi Dmitry,
the PID is set via eval $(ssh-agent). Sure. The problem is that when I do "eval `ssh-agent" in ~/.bashrc, it sets SSH_AGENT_PID but then it's unset somewhere (where and why?). This happens only under x2go, SPICE session works as expected (but SPICE is unusable for other reasons)
every new session has to set the variable as well. It is not inherited automagically to other sessions.
Where do you put this code? Do you have the only instance of ssh-agent per X session?
Yes. This code is in my ~/.bashrc
Cheers
Dirk