Kali Linux on Windows (WSL)

How to install Kali linux on Windows via Windows Subsystem for Linux

  1. 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

  1. 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

This entry was posted in Informacione tehnologije, Linux, Virtualizacija and tagged , , . Bookmark the permalink.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.