How To Install Kali Linux GUI on Windows 10 (WSL 2)

https://www.youtube.com/watch?v=d0aDOwzP5Rc
Do you want to install Kali Linux on Windows 10 without virtualization software like VMware?

Make sure to subscribe so you don’t miss new content!
https://www.youtube.com/channel/UCbbBt23LHt4WhjiWh67NJ3w?sub_confirmation=1

Join my newsletter for a FREE copy of my eBook…Guide to Cyber Security Careers! https://jongood.com/newsletter/

The way we install guest operating systems on our machines has come a long way in the last several years. One of the newest features in Windows called WSL (Windows Subsystem for Linux), allows you to install an operating system like Kali Linux directly on your system. You are no longer stuck using virtualization software like VMware or Virtualbox if you do not want to.

Join me in this video as I walk you through configuring WSL 2 for use, downloading and installing Kali Linux, and then configuring the GUI (Graphical User Interface) that you know and love. Like a lot of technologies, WSL 2 can be a useful feature in your toolbox for when the right situation comes up.

If you’ve used WSL 1, you can find the feature comparison here:
-WSL 2 vs WSL 1: https://docs.microsoft.com/en-us/windows/wsl/compare-versions

Steps & Commands (omit quotes ‘ ‘ from commands):

1. Check your version of Windows to make sure you are compatible.
a. It must be at least version 2004.
b. If you don’t have that version or newer, go to Windows Update to install updates.
‘winver’

2. Run PowerShell as an administrator.

3. Install the Windows Subsystem for Linux.
‘dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart’

4. Enable the “Virtual Machine Platform” feature.
‘dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart’

5. Restart your system.

6. Set WSL 2 as your default version.
‘wsl –set-default-version 2’

7. If you get a message about needing to update your kernel, go to https://aka.ms/wsl2kernel

8. Run command again to set default.

9. Show if any distributions of Linux are installed in WSL.
‘wsl -l -v’

10. Go to Microsoft store and install Kali Linux

11. Configure a new account for Kali

12. You now have a working copy of Kali Linux from the command line.

13. Update system references.
‘sudo apt update’

14. Install Updates and Install Kali Desktop Experience for Windows
‘sudo apt upgrade && sudo apt install kali-win-kex’

15. Start the graphical user interface.
‘kex’

16. Enter a required password that you can make up.
a. Select “No” to view-only password.



TROUBLESHOOTING:

Below are some common issues that people have but one of the best resources for troubleshooting issues with this process is the Kali Forms.

How do I install additional Kali tools?
https://www.kali.org/blog/major-metapackage-makeover/

Unable to connect to socket: No connection could be made because the target machine actively refused it. (10061)
https://forums.kali.org/showthread.php?51136-Win-Kex-in-WSL2-Kali-fails-to-connect-after-system-reboot

#KaliLinux #Windows10 #WSL2

DISCLAIMER: I am an ambassador or affiliate for many of the brands referenced on the channel. As an Amazon Associate, I earn a commission from qualifying purchases.