HP Omen, stupid way to wsl2 and gui apps
12. 6. 2023After trying to install Ubuntu as wsl2 in win10 home edition and got ‘Error 0x80370102’:
- In bios make sure virtualization is enabled (f10 at boot)
- win10, ‘windows features’, enable stuff like ‘virtual machine platform’ and ‘windows hypervisor platform’
- make sure wsl version default is set to 2.
- if on windows home use this workaround to install hyper-v stuff https://www.wintips.org/how-to-enable-hyper-v-on-windows-10-11-home/, a bat file run as root.
- again ‘windows features’ and the new hyper-v should be there, but make sure to DISABLE it, otherwise expect BSOD.
- powershell, install and lauch new vm: wsl –install -d Ubuntu-22.04
- inside Ubuntu install some gui app, like geany
- launch geany