← Back to team overview

desktop-packages team mailing list archive

[Bug 1411174] Re: "open in terminal" does not honour SSH_AUTH_SOCK and GPG_AGENT_INFO environment variables in Ubuntu 14.10

 

@Simon:

I proposed  a workaround (ugly) in http://askubuntu.com/questions/606451
/nautilus-open-in-terminal-extension-will-not-propagate-ssh-auto-sock

A upstream report would be nice; I suspect it could be related to the fact that "run in terminal" is hard coded in gnome (see 
https://bugzilla.gnome.org/show_bug.cgi?id=627943 ) or not.
 


** Bug watch added: GNOME Bug Tracker #627943
   https://bugzilla.gnome.org/show_bug.cgi?id=627943

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1411174

Title:
  "open in terminal" does not honour SSH_AUTH_SOCK and GPG_AGENT_INFO
  environment variables in Ubuntu 14.10

Status in gnome-terminal package in Ubuntu:
  Confirmed
Status in nautilus-open-terminal package in Ubuntu:
  Confirmed

Bug description:
  Steps to reproduce:

  Open a terminal in Unity via the Launcher (or Dash) and ssh into
  something. The ssh-agent unity keyring dialog will popup asking for
  the passphrase. Everything's ok.

  Now open a terminal via nautilus-open-terminal, for example right
  click on Desktop -> Open in Terminal and run env. The SSH_AUTH_SOCK
  and GPG_AGENT_INFO variables are not set. Other env vars are also
  slightly different but this might not be necessarily a problem. The
  problem is that trying to ssh somewhere cannot access the already
  running ssh-agent (unity gnome keyring), ssh will prompt in CLI for
  the passphrase.

  The expected behaviour (at least until 14.04 LTS) was that
  SSH_AUTH_SOCK and GPG_AGENT_INFO were set when opening the terminal
  via nautilus "Open in Terminal".

  
  $ lsb_release -rd
  Description:	Ubuntu 14.10
  Release:	14.10

  $ apt-cache policy nautilus-open-terminal 
  nautilus-open-terminal:
    Installed: 0.20-1
    Candidate: 0.20-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1411174/+subscriptions