First thing is to ensure that vm / hypervisor / subsystem for Linux windows are installed on your system! After rebooting your system you then upgrade wsl to wsl2 via command prompt in windows.
Open PowerShell as Administrator.
To install WSL, run this command:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Enable the Virtual Machine Platform optional feature by running the following command:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Restart Windows
Download the latest Linux kernel update package and install it: WSL2 Linux kernel update package for x64 machines
https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
Set WSL 2 as your default version. Open PowerShell as Administrator and run:
wsl --set-default-version 2
You can now install WSL 2 distros from the Microsoft Store
Reboot windows
Download kali Linux from the Microsoft app store after install, and setup type:
sudo apt update
sudo apt upgrade
sudo apt install -y kali-linux-large
Reboot windows
Open Kali terminal, and type
sudo apt update
sudo apt install dbus-x11
sudo apt install kali-win-kex
Become root:
sudo -i
Just type the following for the full desktop
kex
Or for just the start panel mode type
kex --sl
No comments:
Post a Comment
Anyone can leave feedback! No Account needed.