KALI
Moduli:
sudo apt install -y x11vnc
x11vnc -storepasswd sudo mv ~/.vnc/passwd /etc/vncserver.pass sudo chmod 600 /etc/vncserver.pass
sudo nano /etc/systemd/system/vncserver.service
[Unit] Description=start vnc at boot After=multi-user.target [Service] Type=simple ExecStart=/usr/bin/x11vnc -display :0 -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/vncserver.pass -rfbport 5900 -shared [Install] WantedBy=multi-user.target
sudo apt install openssh-server
systemctl start ssh
systemctl enable ssh