From c68196700ec88c349f919aa03b78766350fd7fff Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 27 Jul 2018 14:40:17 +0200 Subject: [PATCH] Stop unsetting environment variables These might contain values we want if we are start from a proper environment. --- unix/vncserver/vncserver | 2 -- 1 file changed, 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". -- 2.39.5