CompTIA Linux+ (XK0-004)
Red Hat Enterprise Linux
Git and Github
Learn Docker and Kubernates
Tips and Tricks

Windows Subsystem Error

The problem is one hypervisor is used at a time. So when using VMware/VirtualBox, it's important to turn off Windows own hypervisor feature.

In Administrative mode, use one of them:

bcdedit /set hypervisorlaunchtype off
bcdedit /set hypervisorlaunchtype on
bcdedit /set hypervisorlaunchtype auto

Desktop GUI using WSL2 & xRdp

In my opinion, Win-Kex has some problems that doesn't launch Kali Desktop very easily. So I use this route to achieve to run Kali Desktop.

Once your distro is up and running you can setup either Xfce or Kde.

sudo apt update && sudo apt -y upgrade
# sudo apt install -y kali-win-kex
sudo apt-get purge xrdp
# install xfce
sudo apt-get install -y xfce4 xfce4-goodies
# install xrdp
sudo apt-get install xrdp
sudo cp /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.bak
sudo sed -i 's/3389/3390/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/max_bpp=32/#max_bpp=32\nmax_bpp=128/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/xserverbpp=24/#xserverbpp=24\nxserverbpp=128/g' /etc/xrdp/xrdp.ini
echo xfce4-session > ~/.xsession
#enable dbus
sudo systemctl enable dbus
sudo /etc/init.d/dbus start
sudo /etc/init.d/xrdp start
# check xrdp status
sudo /etc/init.d/xrdp status
# stop xrdp
sudo /etc/init.d/xrdp stop

Optional Step:

sudo apt install -y kali-linux-large

To launch RDP, search for RDP in Windows and type in localhost:3390.

Now, simply type in your username and password of your Linux distro, and it should launch the Linux Desktop experience.

All good to go now.