From d69bd5c88990b305521de6c1b34740409879efb2 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 26 Sep 2023 05:57:06 +0300 Subject: [PATCH] fixup! --- kasmvnc/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kasmvnc/run.sh b/kasmvnc/run.sh index f345469..94426c1 100644 --- a/kasmvnc/run.sh +++ b/kasmvnc/run.sh @@ -59,7 +59,7 @@ EOF' # This password is not used since we start the server without auth. # The server is protected via the Coder session token / tunnel # and does not listen publicly on the VM -echo -e "password\npassword\n" | vncpasswd -wo -u $$USER +echo -e "password\npassword\n" | vncpasswd -wo -u $USER # Start the server :) -sudo su -u $$USER bash -c 'vncserver -select-de "${DESKTOP_ENVIRONMENT}" -disableBasicAuth' +sudo -u $USER bash -c "vncserver -select-de \"${DESKTOP_ENVIRONMENT}\" -disableBasicAuth"