Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-allen-ck committed Apr 26, 2024
1 parent 977b487 commit 757d565
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-service-guacamole-linuxvm
version: 0.6.39
version: 0.6.40
description: "An Azure TRE User Resource Template for Guacamole (Linux)"
dockerfile: Dockerfile.tmpl
registry: azuretre
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ echo "init_vm.sh: xrdp"
sudo apt install -y xrdp xorgxrdp xfce4-session
sudo adduser xrdp ssl-cert
sudo -u "${VM_USER}" -i bash -c 'echo xfce4-session > ~/.xsession'
sudo -u "${VM_USER}" -i bash -c 'echo xset s off > ~/.xsession'
sudo -u "${VM_USER}" -i bash -c 'echo xset -dpms > ~/.xsession'

sleep 10

Expand Down Expand Up @@ -146,11 +148,6 @@ sudo systemctl restart docker
# R config
sudo echo -e "local({\n r <- getOption(\"repos\")\n r[\"Nexus\"] <- \"""${NEXUS_PROXY_URL}\"/repository/r-proxy/\"\n options(repos = r)\n})" | sudo tee /etc/R/Rprofile.site

## Add ouh_researcher group for directory permissions
echo "init_vm.sh: directory permissions"
sudo chgrp -R ouh_researcher /opt/anaconda
sudo chmod -R g+w /opt/anaconda

# ## Cleanup
echo "init_vm.sh: Cleanup"
sudo apt -y autoremove
Expand Down

0 comments on commit 757d565

Please sign in to comment.