diff options
author | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2007-05-24 01:59:25 +0000 |
---|---|---|
committer | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2007-05-24 01:59:25 +0000 |
commit | f0923ce63df941b7665eab963c2e36ac9f0194ed (patch) | |
tree | 8b4ecb4fea34f531029da497978c9dd274ca3e37 /src | |
parent | 5b24f00e0bcbf38d0b6e9e3ce3e7b8758b0e8b99 (diff) |
Do not set DISPLAY when using an ssh tunnel.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@122 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src')
-rw-r--r-- | src/portal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portal.cc b/src/portal.cc index 1b069f7..848d445 100644 --- a/src/portal.cc +++ b/src/portal.cc @@ -311,7 +311,7 @@ namespace Formaline ostringstream cmdbuf; if (my_use_relay_host) { - cmdbuf << "ssh -x " << my_relay_host << " '" + cmdbuf << "env DISPLAY= ssh -x " << my_relay_host << " '" << "cd " << cwd << " && "; } cmdbuf << scriptfilenamestr << " < /dev/null > /dev/null 2> /dev/null"; |