Using Kali Linux Gui with WSL2

wsl2

Get kali at MS Store and Check the current version with PoweShell

PoweShell> wsl -l -v

Change version from 1 to 2

PoweShell> wsl --set-default-version2 

Or individually

PoweShell> wsl --set-version kali-linux 2

If you need to update the kernel components, just follow the instructions.

Launch Kali L Inux

Install kex, the X server


Kali Linux> sudo apt update
Kali Linux> sudo apt upgrade
Kali Linux> sudo apt install kali-win-kex
Kali Linux> sudo apt install dbus-x11

Start gui

Kali Linux> kex -m

Exit with F8 Important option -m Do not display full screen --win windows mode --sl seamless

Tool installation (about 15 minutes)

K L> sudo apt install -y kali-linux-default

Or strong,


K L> sudo apt install -y kali-linux-large

Enable windows features

Recommended Posts

Using Kali Linux Gui with WSL2
Organize files on Windows with Linux commands-using WSL-
Upload images to S3 with GUI using tkinter
Linux (WSL) on Windows
Linux (Lubuntu) with OneMix3S
[Linux] WSL2 Build an environment for laravel7 with Ubuntu 20.04
Error around GUI when using PyQt5 on Ubuntu (WSL2)
linux with termux app
[Cyberduck] How to exchange files on Linux (CentOS7) started by VirtualBox with mac using GUI
[Linux] Write a deployment tool using rsync with a shell script
[Tips] Persistence of Kali Linux Live Image with USB memory
Using X11 with ubuntu18.04 (C)
When using optparse with iPython
Try using PythonTex with Texpad.
Using Graphviz with Jupyter Notebook
[S3] CRUD with S3 using Python [Python]
Messaging with AMQP using kombu
Self-build linux kernel with clang
Using Quaternion with Python ~ numpy-quaternion ~
Try using matplotlib with PyCharm
Play around with Linux partitions
Try GUI programming with Hy
Creating GUI tools with pyinstaller
Games using IMU with SenseHat
[Python] Using OpenCV with Python (Basic)
Use Windows 10 fonts with WSL
[GUI with Python] PyQt5-Layout management-
Linux fastest learning with AWS
Using a printer with Debian 10
Use WDC-433SU2M2 with Manjaro Linux
Make Amazon Linux 2 (CentOS) GUI
[GUI with Python] PyQt5 -Preparation-
Linux environment construction (on WSL environment)
Use Linux on Windows 10 (WSL2)
Try using folium with anaconda
Using OpenCV with Python @Mac
Send using Python with Gmail
[GUI with Python] PyQt5 -Paint-