News for hackers. Stuff that matters.
Re:Setting Up Arch Linux with KDE Plasma in Windows Subsyste... by pgtruesdell on Monday March 22, 2021 @08:10PM (#26549265)
Yes, technically it is, but it's the integration that makes it interesting.

Plus theres the simple reality that Microsoft's got native APIs in Windows that enable running a linux vm with a KDE window alongside the standard windows environment. Microsoft has really come a long way and that's what's really amazing and kind of disorienting.

Re:Setting Up Arch Linux with KDE Plasma in Windows Subsyste... by qbasic_forever on Monday March 22, 2021 @08:32PM (#26549419)
You've been able to run Linux in Hyper-V for a decade now though, it's not really anything new beyond the client-side integration.
Re:Setting Up Arch Linux with KDE Plasma in Windows Subsyste... by beefbroccoli on Monday March 22, 2021 @08:55PM (#26549591)
WSL2 uses it's own init system - only one kernel (plus a tiny initrd) is virtualized by hyper-v; each subsequent linux instance (distribution) is containerized. There's additional facilities that handle resource allocation dynamically vs the user specifying a static amount during VM creation.

These (and more) result in the end-user interacting with WSL2 the same way they would any normal application. To think of it as simply a VM isn't quite correct.

Re:Setting Up Arch Linux with KDE Plasma in Windows Subsyste... by indigodaddy on Tuesday March 23, 2021 @01:39AM (#26551488)
So I fired up Ubuntu first for my current WSL2... then I installed a Kali distribution.. are you saying that the Kali instance is really just a container inside the Ubuntu WSL2?
Re:Setting Up Arch Linux with KDE Plasma in Windows Subsyste... by beefbroccoli on Tuesday March 23, 2021 @02:25AM (#26551710)
No. A minimal initrd + kernel is virtualized. Both Ubuntu and Kali are containers.
Re:Setting Up Arch Linux with KDE Plasma in Windows Subsyste... by indigodaddy on Tuesday March 23, 2021 @02:48AM (#26551834)
Ah gotcha. Neat stuff.
Re:Setting Up Arch Linux with KDE Plasma in Windows Subsyste... by qbasic_forever on Monday March 22, 2021 @11:30PM (#26550756)
Sure but I could just run Ubuntu and containerd in a VM and it's the same thing. Or just run k8s instead...
Re:Setting Up Arch Linux with KDE Plasma in Windows Subsyste... by beefbroccoli on Tuesday March 23, 2021 @02:51AM (#26551845)
Not quite. WSL2 dynamically uses resources as needed (`vmmem`), whereas a traditional VM requires allocating a fixed amount of RAM and CPU from the host machine.