Linux

Install Kali Linux GUI Using Windows Subsystem for Linux WSL



Here’s how to guide for Installing Kali Linux GUI Using WSL.

First things first – Prerequisites

For x64 systems: Version 1903 or higher, with Build 18362 or higher.
For ARM64 systems: Version 2004 or higher, with Build 19041 or higher.
Builds lower than 18362 do not support WSL 2. Use the Windows Update Assistant to update your version of Windows.

To avoid errors later on, we are now going to install the Linux Kernel Update Package for WSL:

Download the latest package:

WSL2 Linux kernel update package for x64 machines

After all this, reboot your Windows 10 Machine

Set WSL2 as default Version

Lastly, let’s set WSL Version 2 as default by running the following command in an elevated PowerShell prompt (PowerShell run as Administrator):

wsl –set-default-version 2

Execute following commands one at a time:

wsl –update

wsl –install -d kali-linux

Optional – Install Win-KeX for Graphical User Interface:

sudo apt update

sudo apt install -y kali-win-kex

Run Win-KeX:

To start Win-KeX in Window mode with sound support, run either:

Inside of Kali WSL: kex –win -s
On Window’s command prompt: wsl -d kali-linux kex –win -s

Refer to the Win-KeX Window Mode usage documentation for further information.

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button