From e46c5bbbac67f710f6f2852a5f8f7191adf93c4a Mon Sep 17 00:00:00 2001 From: tim-allen-ck Date: Fri, 26 Apr 2024 11:34:57 +0100 Subject: [PATCH] add sleeps --- .../guacamole-azure-linuxvm/terraform/vm_config.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 61f52f4de..d2396a35d 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 @@ -27,10 +27,14 @@ sudo apt install -y xrdp xorgxrdp xfce4-session sudo adduser xrdp ssl-cert sudo -u "${VM_USER}" -i bash -c 'echo xfce4-session > ~/.xsession' +sleep 10 + # Make sure xrdp service starts up with the system sudo systemctl enable xrdp sudo service xrdp restart +sleep 10 + ## Python 3.8 and Jupyter sudo apt install -y jupyter-notebook microsoft-edge-dev