Kali Linux on Windows in 5min (WSL 2 GUI)
Based on NetworkChuck's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.
Confirm Windows 10 version 2004+ (Windows 10 Home is sufficient) before attempting WSL 2.
Briefing
Kali Linux can run inside Windows 10 as a full Linux environment using WSL 2—complete with a graphical desktop you can access through Remote Desktop—turning a security-focused distro into something that behaves like a Windows app. The practical payoff is straightforward: once WSL 2 is set up with a Linux kernel and a GUI stack (XFCE plus Xrdp), users can log into Kali from their Windows machine and run familiar tools without dual-booting or a separate VM.
The setup starts with meeting Windows requirements: Windows 10 Home is acceptable, but the system needs version 2004 (or newer). Users confirm their build by searching for “winver,” then install updates if needed. Next comes enabling WSL and virtualization support through PowerShell run as administrator. After that, the machine is restarted, and the WSL 2 kernel package is updated by downloading the latest kernel installer from Microsoft’s WSL resources and running the installation wizard.
With WSL 2 ready, the workflow shifts to installing Kali Linux from the Microsoft Store. Kali appears as a standard app: users can search for “Kali Linux,” install it, and launch it to create a username and password. At this stage, Kali runs in a terminal-only mode, so the next step is turning it into a desktop environment. System updates are performed with apt (including an upgrade), then a desktop environment is installed using “Kali desktop xfce.” The transcript also verifies WSL is actually running version 2 using “wsl --list --verbose,” confirming the environment is on WSL 2 rather than WSL 1.
To make the GUI accessible remotely, the process installs and starts Xrdp. After Xrdp is running, the user retrieves the Kali environment’s IP address (via “ip address”), then opens “Remote Desktop Connection” on Windows and connects using the Kali login credentials. The result is a working Kali GUI session inside Windows, described as bare-bones at first but functional.
To demonstrate capability, the session installs and runs the Harvester—an information-gathering tool often used for reconnaissance. Using a target domain (David bomble.com) and Google as the source, it returns results such as discovered emails and subdomains. The takeaway is that WSL 2 plus a lightweight desktop (XFCE) and Xrdp can deliver a usable Kali workstation on Windows, with remote access and real security tooling—without leaving the Windows environment.
Cornell Notes
WSL 2 lets Kali Linux run on Windows 10 with a real Linux kernel and a GUI session accessible from Windows. After updating Windows to version 2004+ and enabling WSL/virtual machine features in PowerShell, users install the WSL 2 kernel package and set WSL 2 as the default. Kali Linux is then installed from the Microsoft Store and configured with a desktop environment (XFCE) via apt. Finally, installing and starting Xrdp enables Remote Desktop access to the Kali GUI, using the Kali IP address and the Kali login credentials. The setup is validated by checking WSL version with “wsl --list --verbose,” then demonstrated with the Harvester tool for reconnaissance.
What Windows prerequisites and setup steps ensure WSL 2 works correctly before installing Kali?
How does Kali get installed on Windows, and what happens immediately after installation?
Which commands are used to turn Kali into a GUI environment, and what desktop is chosen?
How is remote GUI access enabled, and how does the user connect from Windows?
What reconnaissance demonstration is run after the GUI is working?
Review Questions
- Why is updating the WSL 2 kernel package necessary, and what could go wrong if WSL 2 isn’t properly set as the default?
- What roles do XFCE and Xrdp play in making Kali’s GUI accessible from Windows?
- How does the Harvester example demonstrate that the WSL-based Kali environment is fully usable for security workflows?
Key Points
- 1
Confirm Windows 10 version 2004+ (Windows 10 Home is sufficient) before attempting WSL 2.
- 2
Enable WSL and virtualization features in PowerShell as administrator, then restart the machine.
- 3
Install the latest WSL 2 kernel package from Microsoft’s WSL kernel installer and complete the wizard.
- 4
Set WSL 2 as the default in PowerShell so Kali runs on WSL 2.
- 5
Install Kali Linux from the Microsoft Store, then create a Kali username and password during first launch.
- 6
Add a desktop environment (XFCE) and install Xrdp to enable Remote Desktop access to the Kali GUI.
- 7
Use the Kali IP address and Remote Desktop Connection with the Kali credentials to log into the GUI session.