Skip to content

Instantly share code, notes, and snippets.

@Pymancer
Pymancer / ubuntu_xfce_wsl2_do_not_run.sh
Last active January 14, 2022 14:09
Installing Ubuntu with XFCE DE on Windows 10 WSL2
# Won't work with VirtualBox or other vm as Hyper-V and Virtual Machine Platform will be disabled
# Windows 10 should be at least version 2004 (use Windows Update otherwise)
# Don't try to run this file, execute commands one by one in the appropriate environment, `sh` extension is for syntax highlighting only
### in powershell
wsl --install
# restart Windows
# (optional) if wsl is already installed, make sure it's version 2 and then install Ubuntu from the Windows Store
wsl --set-default-version 2