
We highly recommend you use the Windows Terminal app from the Microsoft Store. Sudo kex -sl -wtstart -s Windows Terminal Then you might need to kill and restart win-kex sudo kex stop If you get the error “Failed to execute child process ‘dbus-launch’ (no such file or directory)” when trying to run Kali Linux Win-Kex, verify you have dbus-x11 installed by running: sudo service xrdp stop Seamless Mode (with sound support): kex -sl -s Possible Errors Win-Kex supported three modes and you can try each one based on your needs:Įnhanced Session Mode (with sound support and an ARM workaround: kex -esm -ip -s While in Kali, run: sudo apt install -y kali-win-kex

You’ll be prompted to create a username and password.Now that you have Kali Linux installed, run it for the first time.Once you have WSL2 installed, head over to the Microsoft Store and install the latest version of Kali Linux.Once you have WSL2 installed, proceed to the following steps to install Kali Linux and Win-Kex. Refer to our article on How To Enable WSL2 on Windows 10 to get started if you haven’t setup WSL2 yet.

The enhanced WSL2 offers many enhancements over the original WSL including the ability to access a Linux GUI and it includes a full Linux kernel. Windows 10 version 2004 and later include the enhanced Windows Subsystem for Linux 2 (WSL2).
