Skip to content

Instantly share code, notes, and snippets.

@hoangitk
Created November 16, 2020 09:37
Show Gist options
  • Save hoangitk/268e6bd17c1a430e6fa9f6b1bac34351 to your computer and use it in GitHub Desktop.
Save hoangitk/268e6bd17c1a430e6fa9f6b1bac34351 to your computer and use it in GitHub Desktop.
[wsl2 gui] #wsl #wsl2

GUI on Wsl2

How to

  1. INSTALL WSL 2
> 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
> wsl –set-default-version 2
> wsl –list –verbose
  1. INSTALL GUI
> sudo apt update && sudo apt upgrade -y
> sudo apt install kali-desktop-xfce -y
> sudo apt install xrdp -y
> sudo service xrdp start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment