Win KeX
Win KeX
Table of Contents
Content:
• Overview
• Installation
o Prerequisites
o Install Win-Kex
• Run Win-KeX
• Optional steps
Overview
Win-KeX provides a Kali Desktop Experience for Windows Subsystem for Linux (WSL 2) with the
following features:
• Seamless mode: share the Windows desktop between Windows and Kali apps and menus
• Sound support
• Shared clipboard for cut and paste support between Kali Linux and Windows apps
• Multi-session support: root window & non-priv window & seamless sessions concurrently
Installation
All installation steps, up to the point where we install Win-Kex, are also explained in the 5 minute
video guide by the amazing NetworkChuck:
Prerequisites
• Restart
• Restart
• Download and install the WSL2 Linux Kernel from here: https://aka.ms/wsl2kernel
Note: to upgrade an existing WSL1 kali-linux installation, type: wsl --set-version kali-linux 2
Install Win-KeX
kali@kali:~$
Run Win-KeX
• Window Mode:
To start Win-KeX in Window mode with sound support, run
kex --win -s
• Seamless mode:
To start Win-KeX in Seamless mode with sound support, run
kex --sl -s
Optional Steps:
• If you have the space, why not install “Kali with the lot”?: sudo apt install -y kali-linux-large
• Create a Windows Terminal Shortcut:
"guid": "{55ca431a-3a87-5fb3-83cd-11ececc031d2}",
"hidden": false,
"name": "Win-KeX",
},
Advanced Win-KeX in window mode with sound - Kali icon and start in kali home directory:
Copy the kali-menu.png icon across to your windows picture directory and add the icon and start
directory to your WT config:
"guid": "{55ca431a-3a87-5fb3-83cd-11ececc031d2}",
"hidden": false,
"name": "Win-KeX",
},
"guid": "{55ca431a-3a87-5fb3-83cd-11ececc031d2}",
"hidden": false,
"name": "Win-KeX",
},
Advanced Win-KeX in seamless mode with sound - Kali icon and start in kali home directory:
Copy the kali-menu.png icon across to your windows picture directory and add the icon and start
directory to your WT config:
"guid": "{55ca431a-3a87-5fb3-83cd-11ececc031d2}",
"hidden": false,
"name": "Win-KeX",
"commandline": "wsl -d kali-linux kex --sl --wtstart -s",
},
"guid": "{55ca431a-3a87-5fb3-83cd-11ecedc031d2}",
"hidden": false,
"name": "Win-KeX",
},
Advanced Win-KeX in ESM mode with sound - Kali icon and start in kali home directory:
Copy the kali-menu.png icon across to your windows picture directory and add the icon and start
directory to your WT config:
"guid": "{55ca431a-3a87-5fb3-83cd-11ecedd031d2}",
"hidden": false,
"name": "Win-KeX",
},
Help
kex --help
man kex
or join us in the Kali Forums