From 09c6d79bdf7531be4c42282ee068448efc5924d8 Mon Sep 17 00:00:00 2001 From: 0xE232FE Date: Thu, 14 Apr 2022 15:14:09 +0200 Subject: [PATCH] Update guac-upgrade.sh (#220) Fixes upgrade 1.2.0 to 1.4.0 while the directories do not exist after upgrade to version 1.4.0. So FreeRDP can not access this folders with "daemon" user. So I obtained this parts from the guac-install.sh to make RDP work again on upgraded 1.4.0 Version. # Fix for #196 mkdir -p /usr/sbin/.config/freerdp chown daemon:daemon /usr/sbin/.config/freerdp # Fix for #197 mkdir -p /var/guacamole chown daemon:daemon /var/guacamole --- guac-upgrade.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/guac-upgrade.sh b/guac-upgrade.sh index 66091cc..29d20e2 100755 --- a/guac-upgrade.sh +++ b/guac-upgrade.sh @@ -197,6 +197,14 @@ for file in /etc/guacamole/extensions/guacamole-auth-duo*.jar; do fi done +# Fix for #196 +mkdir -p /usr/sbin/.config/freerdp +chown daemon:daemon /usr/sbin/.config/freerdp + +# Fix for #197 +mkdir -p /var/guacamole +chown daemon:daemon /var/guacamole + # Start tomcat and Guacamole echo -e "${BLUE}Starting tomcat and guacamole...${NC}" service ${TOMCAT} start