How to install Kali linux on Windows via Windows Subsystem for Linux
- INSTALL WSL 2
RUN POWERSHELL as administrator
> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
RESTART
> dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
> dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
RESTART
Download Linux Kernel: https://aka.ms/wsl2kernel
SET DEFAULT TO WSL 2
> wsl –set-default-version 2
CHECK VERSION
> wsl –list –verbose
- INSTALL GUI
$ sudo apt update && sudo apt upgrade -y
$ sudo apt install kali-desktop-xfce -y
XRDP
$ sudo apt install xrdp -y
$ sudo service xrdp start
alt:
sudo apt install dbus-x11
(install win-kex)
$ sudo apt upgrade && sudo apt install kali-win-kex -y