From a7f8d8b3106cdec7f3eb8be98df44877f4481285 Mon Sep 17 00:00:00 2001 From: Simon Li Date: Sat, 27 Jan 2024 19:25:19 +0000 Subject: [PATCH 1/2] Remove xfce4-screensaver This should prevent the screen from being locked with an unknown password --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 88b8e7c7..67c0111b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN apt-get -y -qq update \ xubuntu-icon-theme \ tigervnc-standalone-server \ tigervnc-xorg-extension \ + && apt-get -y -qq remove xfce4-screensaver \ # chown $HOME to workaround that the xorg installation creates a # /home/jovyan/.cache directory owned by root # Create /opt/install to ensure it's writable by pip From a68ce170d3238b5cf458e13d6b4423650f47d8e5 Mon Sep 17 00:00:00 2001 From: Simon Li Date: Sat, 27 Jan 2024 21:30:17 +0000 Subject: [PATCH 2/2] Include comment about why we need to remove screensaver --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 67c0111b..265727a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN apt-get -y -qq update \ xubuntu-icon-theme \ tigervnc-standalone-server \ tigervnc-xorg-extension \ + # Disable the automatic screenlock since the account password is unknown && apt-get -y -qq remove xfce4-screensaver \ # chown $HOME to workaround that the xorg installation creates a # /home/jovyan/.cache directory owned by root