Skip to main content

KaliLinux container

Update container image

podman commit cool_perlman kali-updated

run container

podman run -it -p 3389:3389 --name kali --hostname kali localhost/kali-xfce-xrdp

install graphic interface and xrdp (inside kali)

apt install kali-desktop-xfce xrdp

Setup passwrd

passwd root

run xrdp remote desktop protocol

service xrdp start

Connecting to the remote machine

Good news is XRDP works right out of the box!

To connect to the machine you installed XRDP on, you’ll first need to install an RDP client on your local machine.

I’ll be using GNOME Boxes, which can be installed with the following:

sudo apt install gnome-boxes

GNOME Boxes is known more for virtual machine use, but it also supports a variety of other protocols, including XRDP.

If for whatever reason you don’t want to use Boxes, you can also use a client called Remmina:

sudo apt install remmina

Again though, note that I’ll be using Boxes throughout the rest of the tutorial.z

First off, Start GNOME Boxes, and click on the + sign and select “Connect to a Remote Computer…“.