Skip to content

Commit d9ab8fc

Browse files
committed
Remove rstudio desktop
1 parent 4ae5d86 commit d9ab8fc

File tree

2 files changed

+2
-44
lines changed

2 files changed

+2
-44
lines changed

resources/tools/r-studio-desktop.sh

Lines changed: 0 additions & 41 deletions
This file was deleted.

resources/tools/r-studio-server.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if [ ! -f "/usr/lib/rstudio-server/bin/rserver" ]; then
2323
fi
2424
apt-get update
2525
# required by rstudio server
26-
apt-get install -y --no-install-recommends libclang-dev
26+
apt-get install -y --no-install-recommends libclang-dev gdebi-core
2727
echo "Installing RStudio Server. Please wait..."
2828
wget -q https://download2.rstudio.org/server/bionic/amd64/rstudio-server-1.4.1717-amd64.deb -O ./rstudio.deb
2929
gdebi --non-interactive ./rstudio.deb
@@ -63,7 +63,6 @@ if [ $INSTALL_ONLY = 0 ] ; then
6363
# Fix tmp permissions - does not work if tmp permissions are wrong
6464
chmod 1777 /tmp
6565
# Run rstudio with rstudio user and empty ld_library_path (otherwise it gets stuck)
66-
LD_LIBRARY_PATH="" LD_PRELOAD="" USER=rstudio /usr/lib/rstudio-server/bin/rserver --server-working-dir=$WORKSPACE_HOME --server-daemonize=0 --auth-none=1 --auth-validate-users=0 --www-port $PORT
66+
LD_LIBRARY_PATH="" LD_PRELOAD="" USER=rstudio /usr/lib/rstudio-server/bin/rserver --server-working-dir=$WORKSPACE_HOME --server-daemonize=0 --auth-none=1 --auth-validate-users=0 --www-verify-user-agent=0 --www-frame-origin=same --www-root-path="./" --www-port $PORT
6767
sleep 10
6868
fi
69-

0 commit comments

Comments
 (0)