diff options
author | 2011-07-20 14:11:43 -0400 | |
---|---|---|
committer | 2011-07-21 10:20:37 -0500 | |
commit | fc449b9e97a2282e4fea3c6012cae9953ff34d25 (patch) | |
tree | c69e978d57ee80c505042ceb019fed336268d4aa | |
parent | Fix compilation error when SASL support is disabled (diff) | |
download | libvirt-v0.9.3-gentoo.tar.gz libvirt-v0.9.3-gentoo.tar.bz2 libvirt-v0.9.3-gentoo.zip |
rpc: Pass through DISPLAY so ssh can launch askpassv0.9.3-gentoo-1v0.9.3-gentoo
Though we prefer users to have SSH keys setup, virt-manager users still
depend on remote SSH connections to launch a password dialog. This fixes
launch ssh-askpass
Fix suggested by danpb
-rw-r--r-- | src/rpc/virnetsocket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/virnetsocket.c b/src/rpc/virnetsocket.c index 4b0c2ee67..b68f1737b 100644 --- a/src/rpc/virnetsocket.c +++ b/src/rpc/virnetsocket.c @@ -587,6 +587,7 @@ int virNetSocketNewConnectSSH(const char *nodename, virCommandAddEnvPassCommon(cmd); virCommandAddEnvPass(cmd, "SSH_AUTH_SOCK"); virCommandAddEnvPass(cmd, "SSH_ASKPASS"); + virCommandAddEnvPass(cmd, "DISPLAY"); virCommandClearCaps(cmd); if (service) |