I'm having a similar problem, which was very confusing until I came across this bug report. If I launch xterm from the applications menu or from a panel launcher created using "add to panel" -> "application launcher" -> xterm, ssh-agent and gpg-agent are available.
But I normally use a custom keybinding from xbindkeys to launch xterms (faster for me than using the mouse), and they don't get the environment variables necessary for ssh-agent and gpg-agent to work. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-session in Ubuntu. https://bugs.launchpad.net/bugs/839444 Title: Gnome uses two different ssh agents depending on how program is launched To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/839444/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs