Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed novnc copy paste not working & vnc not restarting on reboot of container #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM kalilinux/kali-rolling:latest

LABEL website="https://github.com/iphoneintosh/kali-docker"
LABEL website="https://github.com/ProAdmin007/kali-docker-vnc-novnc"
LABEL description="Kali Linux with XFCE Desktop via VNC and noVNC in browser."

# Install kali packages
Expand All @@ -13,25 +14,24 @@ RUN apt-get -y install kali-linux-${KALI_METAPACKAGE}
RUN apt-get clean

# Install kali desktop

ARG KALI_DESKTOP=xfce
RUN apt-get -y install kali-desktop-${KALI_DESKTOP}
RUN apt-get -y install tightvncserver dbus dbus-x11 novnc net-tools

RUN apt-get -y install x11vnc dbus dbus-x11 novnc net-tools autocutsel
ENV USER root

ENV VNCEXPOSE 0
ENV VNCEXPOSE 1
ENV VNCPORT 5900
ENV VNCPWD changeme
ENV VNCDISPLAY 1920x1080
ENV VNCDEPTH 16

ENV NOVNCPORT 8080
ENV TZ=Europe/Amsterdam

# Install custom packages
# TODO: You can add your own packages here

RUN apt-get -y install nano
RUN apt-get install xfce4 xfce4-goodies tigervnc-standalone-server -y
RUN apt-get remove xfce4-power-manager tightvncserver -y
RUN apt-get install inetutils-ping htop -y

# Entrypoint

Expand Down