I have been trying to use dwm tile Window Manager from Suckless with the Kali installation on a Windows 10 machine. But I kept running into issues. I tried using .xinitrc and other ways, but nothing worked until I discovered the file xstartup /usr/lib/win-kex/xstartup.
From there, you can change startxfce4 to dwm.
Then you can close the TigerVNC. And in the Kali terminal, use the commands to restart with your new Window Manager:
If you are looking for the source code for Kex: