From 893cf8daa33a231bb33026602cdc89a4da7a52ce Mon Sep 17 00:00:00 2001 From: tim-allen-ck Date: Fri, 26 Apr 2024 10:20:12 +0100 Subject: [PATCH] update --- .../guacamole-azure-linuxvm/terraform/vm_config.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/terraform/vm_config.sh b/templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/terraform/vm_config.sh index 44c5c2610a..16a16b8067 100644 --- a/templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/terraform/vm_config.sh +++ b/templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/terraform/vm_config.sh @@ -18,7 +18,7 @@ sudo apt-get update || continue ## Desktop echo "init_vm.sh: Desktop" DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true -sudo apt install -y xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils +sudo apt install -y xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils chromium-browser echo /usr/sbin/gdm3 > /etc/X11/default-display-manager ## Install xrdp so Guacamole can connect via RDP @@ -27,13 +27,17 @@ sudo apt install -y xrdp xorgxrdp xfce4-session sudo adduser xrdp ssl-cert sudo -u "${VM_USER}" -i bash -c 'echo xfce4-session > ~/.xsession' +# Make sure xrdp service starts up with the system +sudo systemctl enable xrdp +sudo service xrdp restart + ## Python 3.8 and Jupyter sudo apt install -y jupyter-notebook ## VS Code echo "init_vm.sh: VS Code" sudo apt install -y code -sudo apt install -y gvfs-bin || contine +sudo apt install -y gvfs-bin || continue # echo "init_vm.sh: azure-cli" # sudo apt install azure-cli -y @@ -70,10 +74,6 @@ sudo chmod +x /opt/storage-explorer/*.sh # Fix for blank screen on DSVM (/sh -> /bash due to conflict with profile.d scripts) sudo sed -i 's|!/bin/sh|!/bin/bash|g' /etc/xrdp/startwm.sh -# Make sure xrdp service starts up with the system -sudo systemctl enable xrdp -sudo service xrdp restart - if [ "${SHARED_STORAGE_ACCESS}" -eq 1 ]; then # Install required packages sudo apt-get install autofs -y