diff --git a/VNC-Dockerfile b/VNC-Dockerfile index 3a6b3d8..bdfc8b9 100644 --- a/VNC-Dockerfile +++ b/VNC-Dockerfile @@ -1,26 +1,28 @@ -# The Base Image used to create this Image FROM accetto/ubuntu-vnc-xfce-firefox-g3 - -# Just my name who wrote this file MAINTAINER HubbelBubbel - USER root -# Remove all panel inputs RUN mv /usr/bin/xfce4-panel /usr/bin/xfce4-panel-old RUN rm /usr/libexec/noVNCdim/app/images/icons/novnc.ico - RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pip locales RUN pip install pyxhook --break-system-packages -USER headless +# 🔽 DELETE POP-UPS AND PASSKEY 🔽 +RUN echo '{\n\ + "policies": {\n\ + "PasswordManagerEnabled": false,\n\ + "OfferToSaveLogins": false,\n\ + "Preferences": {\n\ + "signon.rememberSignons": false,\n\ + "signon.autofillForms": false,\n\ + "signon.generation.enabled": false\n\ + }\n\ + }\n\ +}' > /usr/lib/firefox/distribution/policies.json -# COPY XFCE4 config for white background +USER headless COPY ./vnc/xfce4-desktop.xml /home/headless/.config/xfce4/xfconf/xfce-perchannel-xml/ COPY ./vnc/WinCursor /home/headless/.icons/WinCursor/ - -# Copy adjusted html file for noVNC COPY ./vnc/conn.html /usr/libexec/noVNCdim/ COPY ./vnc/ui.js /usr/libexec/noVNCdim/app/ COPY ./vnc/base.css /usr/libexec/noVNCdim/app/styles/ -