To run GUI programs on our Kali box we’ll use VNC.
Launch the TightVNC server and set a password. While the password is limited to 8-characters, it’s not really a concern as the service will only be listening on localhost.
Once the password has been set we can make it a startable service.
[Unit] Description=TightVNC remote desktop server After=sshd.service [Service] Type=dbus ExecStart=/usr/bin/tightvncserver -localhost -nolisten tcp :1 User=root Type=forking [Install] WantedBy=multi-user.target
Let the system know we’ve added a service.
And finally set it to start on boot.
systemctl enable tightvncserver.service