Rocky Linux 8.6, Hyper-V and KDE

That did it! Thanks very much olista.

Here’s my final script in case it helps others:

sudo dnf -y install epel-release
sudo dnf -y config-manager --set-enabled powertools
sudo dnf -y --enablerepo=epel,powertools group install "KDE Plasma Workspaces" "base-x"
sudo dnf -y update
sudo dnf -y install gdm
sudo systemctl disable sddm
sudo systemctl enable gdm --force
sudo systemctl set-default graphical
sudo grubby --update-kernel=ALL --args="video=hyperv_fb:1440x900"
sudo reboot