News for hackers. Stuff that matters.
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux by alichapman on Sunday October 10, 2021 @02:54AM (#28816364)
* You can't run your distro of choice unless you build it yourself

* Lots of programs don't work properly (citation needed, can't remember specifics)

* You can only run command line programs, although I understand this could be different in Windows 11

My last job mandated windows laptops so I used WSL for a couple of months before I got too frustrated and just ran a virtualbox VM.

Re:Part of Windows 11 is a revamped Windows Subsystem for Linux by test1235 on Sunday October 10, 2021 @04:21AM (#28816736)
>You can only run command line programs, although I understand this could be different in Windows 11

WSLg solves this, apparently

https://github.com/microsoft/wslg

Re:Part of Windows 11 is a revamped Windows Subsystem for Linux by DeathArrow on Sunday October 10, 2021 @03:54AM (#28816624)
In the article it says clearly that you can run the distro of your choice using WSL.
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux by gertrunde on Sunday October 10, 2021 @04:34AM (#28816790)
The distro of your choice from the small pool that you are given to choose from.

It's not a completely unrestricted choice.

That pool includes Ubuntu, Debian, SUSE, Fedora and a few others if I remember correctly, although it may have expanded since.

I'm not sure how straightforward rolling your own is.

Re:Part of Windows 11 is a revamped Windows Subsystem for Linux by Atomskun on Sunday October 10, 2021 @05:56AM (#28817161)
You have no idea what you are talking about. You can install any kind of distribution by copying over their rootfs. For example, I am running Void Linux on WSL2.
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux by int_19h on Monday October 11, 2021 @07:43PM (#28834347)
The pool in question is open - anybody (not just Microsoft) can package and publish a distro there.

And for one-off use, there's wsl --import: https://docs.microsoft.com/en-us/windows/wsl/use-custom-dist...

Re:Part of Windows 11 is a revamped Windows Subsystem for Linux by withinboredom on Sunday October 10, 2021 @04:03AM (#28816670)
And building a custom one is easy. I have Gentoo running in WSL with no fuss.
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux by testermelon on Sunday October 10, 2021 @04:01AM (#28816659)
Can it run Linux From Scratch (LFS)? It seems like it could.
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux by shanoaice on Sunday October 10, 2021 @04:43AM (#28816835)
Yes sure it can, create a usable (chrootable) Linux From Scratch rootfs tarball and import it using wsl --import, and everything should be fine. Though don't forget to remove the kernels because WSL don't load them, instead WSL uses a custom kernel shipped with the Windows system.
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux by tomc1985 on Sunday October 10, 2021 @11:30AM (#28819151)
Can't you run an xorg server under Windows and let the WSL apps connect to that?
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux by disgruntledphd2 on Monday October 11, 2021 @08:17AM (#28827477)
Yeah, you can, but it's pretty janky.
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux by int_19h on Monday October 11, 2021 @07:44PM (#28834359)
Not if you use an X server that's specifically designed for it: https://x410.dev/
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux by disgruntledphd2 on Tuesday October 12, 2021 @11:01AM (#28840592)
I'll have to check that out, thanks!