How to install GUI for the kali linux running on EC2 from AWS marketplace

What have you tried: i ssh to my EC2, run the following command: sudo dnf install xfce4 xfce4-goodies gnome-icon-theme tightvncserver

What is the error:
No match for argument: xfce4

No match for argument: xfce4-goodies

No match for argument: gnome-icon-theme

No match for argument: tightvncserver

Error: Unable to find a match: xfce4 xfce4-goodies gnome-icon-theme tightvncserver
What device is this on:
NAME=“Amazon Linux”

VERSION=“2023”

ID=“amzn”

ID_LIKE=“fedora”

VERSION_ID=“2023”

PLATFORM_ID=“platform:al2023”

PRETTY_NAME=“Amazon Linux 2023.6.20241121”

ANSI_COLOR=“0;33”

VENDOR_NAME=“AWS”

SUPPORT_END=“2028-03-15”

Kali is Debian based and uses apt

1 Like

Thank you, I realized I used wrong image from aws.