diff options
author | Pierre Ossman <ossman@cendio.se> | 2018-07-27 14:40:17 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2020-03-12 10:51:38 +0100 |
commit | c68196700ec88c349f919aa03b78766350fd7fff (patch) | |
tree | bad1329a31ee946e67724370e6a2e048ca340358 | |
parent | df25ae41194eb85a48ccfabd7cb7d2c338ff4300 (diff) | |
download | tigervnc-c68196700ec88c349f919aa03b78766350fd7fff.tar.gz tigervnc-c68196700ec88c349f919aa03b78766350fd7fff.zip |
Stop unsetting environment variables
These might contain values we want if we are start from a proper
environment.
-rwxr-xr-x | unix/vncserver/vncserver | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/unix/vncserver/vncserver b/unix/vncserver/vncserver index c98fb91f..bd24c4e3 100755 --- a/unix/vncserver/vncserver +++ b/unix/vncserver/vncserver @@ -56,8 +56,6 @@ $xauthorityFile = "$ENV{XAUTHORITY}" || "$ENV{HOME}/.Xauthority"; $xstartupFile = $vncUserDir . "/xstartup"; $defaultXStartup = ("#!/bin/sh\n\n". - "unset SESSION_MANAGER\n". - "unset DBUS_SESSION_BUS_ADDRESS\n". "OS=`uname -s`\n". "if [ \$OS = 'Linux' ]; then\n". " case \"\$WINDOWMANAGER\" in\n". |