diff --git a/X11Web/Dockerfile b/X11Web/Dockerfile
index 00f436e34679e6f721ed775b7b617b0f6c8fea94..95e9aa0ae777675080a28db522988deefae7fa09 100644
--- a/X11Web/Dockerfile
+++ b/X11Web/Dockerfile
@@ -13,19 +13,23 @@ USER root
 # plus Python3 which is required for Kasm VNC
 RUN apt-get install xvfb xterm net-tools python3 libjpeg8 libgomp1 -y
 
-# Kasm VNC (modded by gtaffoni to use a socket named by an env var)
+# Kasm VNC
 COPY files/kasmvnc.ubuntu_focal.tar.gz /tmp
 RUN sudo tar xz --strip 1 -C / -f /tmp/kasmvnc.ubuntu_focal.tar.gz && rm /tmp/kasmvnc.ubuntu_focal.tar.gz
+RUN rm /usr/local/bin/Xvnc
+COPY files/Xkasmvnc /usr/local/bin/Xvnc
+RUN chmod 755  /usr/local/bin/Xvnc
+RUN cd /tmp && wget http://archive.ubuntu.com/ubuntu/pool/main/n/nettle/libnettle6_3.4.1-0ubuntu0.18.04.1_amd64.deb && dpkg -i libnettle6_3.4.1-0ubuntu0.18.04.1_amd64.deb
+
+# KASM VNC startup script
+COPY files/run_kasm.sh /usr/local/bin/run_kasm.sh
+RUN chmod 755 /usr/local/bin/run_kasm.sh
 
 # X environment setup/startup
 RUN mkdir -p /metauser_home_vanilla/.vnc
 COPY files/xstartup /metauser_home_vanilla/.vnc
 RUN chmod 755 /metauser_home_vanilla/.vnc/xstartup
 
-# KASM VNC startup script
-COPY files/run_kasm.sh /usr/local/bin/run_kasm.sh
-RUN chmod 755 /usr/local/bin/run_kasm.sh
-
 
 #------------------------
 # Post-intall
diff --git a/X11Web/files/Xkasmvnc b/X11Web/files/Xkasmvnc
new file mode 100755
index 0000000000000000000000000000000000000000..4d2b40832cff476024fc7e3712fdf2da020db2e6
Binary files /dev/null and b/X11Web/files/Xkasmvnc differ