aboutsummaryrefslogtreecommitdiffstats
path: root/novnc.txt
blob: 6fb2ef110030ab7909934a7b440f60924bf2a107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# GRAPHICAL INTERFACE
apt install xfce-desktop xorg -y
# CONFIGURE A PASSWORD FOR ROOT ON KALI
passwd
# FIREWALL - HOST CONFIG
iptables -A INPUT -i docker0 -j ACCEPT
# CONFIG FOR KALI LINUX
apt update && apt upgrade && apt install novnc x11vnc tigervnc-standalone-server dbus-x11 python-py python3-pip -y
# NUMPY INSTALL
user > pip install numpy
user > pip3 install numpy
# START DBUS
dbus-launch
# START VNCSERVER
vncserver
# START NOVNC
/usr/share/novnc/utils/novnc_proxy --listen 8081 --vnc localhost:5900
# ACESS VIA BROWSER
CONTAINER_IP:8081/vnc.html
# THAT'S ALL :)
# FIX SOME HOSTNAME BUGS
echo $(hostname -I | cut -d\  -f1) $(hostname) | sudo tee -a /etc/hosts