summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rpc/virnetsocket.c1
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)