Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions VNC-Dockerfile
Original file line number Diff line number Diff line change
@@ -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/