もっと詳しく

The best part of Windows 11 is Linux, argues Ars Technica:
For years now, Windows 10’s Windows Subsystem for Linux has been making life easier for developers, sysadmins, and hobbyists who have one foot in the Windows world and one foot in the Linux world. But WSL, handy as it is, has been hobbled by several things it could not do. Installing WSL has never been as easy as it should be — and getting graphical apps to work has historically been possible but also a pain in the butt that required some fairly obscure third-party software. Windows 11 finally fixes both of those problems. The Windows Subsystem for Linux isn’t perfect on Windows 11, but it’s a huge improvement over what came before.

Microsoft has traditionally made installing WSL more of a hassle than it should be, but the company finally got the process right in Windows 10 build 2004. Just open an elevated Command prompt (start –> type cmd –> click Run as Administrator), type wsl –install at the prompt, and you’re good to go. Windows 11, thankfully, carries this process forward unchanged. A simple wsl –install with no further arguments gets you Hyper-V and the other underpinnings of WSL, along with the current version of Ubuntu. If you aren’t an Ubuntu fan, you can see what other easily installable distributions are available with the command wsl –list –online. If you decide you’d prefer a different distro, you can install it instead with — for example — wsl –install -d openSUSE-42. If you’re not sure which distribution you prefer, don’t fret. You can install as many as you like, simply by repeating wsl –list –online to enumerate your options and wsl –install -d distroname to install whichever you like. Installing a second distribution doesn’t uninstall the first; it creates a separate environment, independent of any others. You can run as many of these installed environments as you like simultaneously, without fear of one messing up another.
In addition to easy installation, WSL on Windows 11 brings support for both graphics and audio in WSL apps. This isn’t exactly a first — Microsoft debuted WSLg in April, with Windows 10 Insider Build 21364. But Windows 11 is the first production Windows build with WSLg support. If this is your first time hearing of WSLg, the short version is simple: you can install GUI apps — for example, Firefox — from your Ubuntu (or other distro) command line, and they’ll work as expected, including sound. When I installed WSLg on Windows 11 on the Framework laptop, running firefox from the Ubuntu terminal popped up the iconic browser automatically. Heading to YouTube in it worked perfectly, too, with neither frame drops in the video nor glitches in the audio….

[T]here is one obvious “killer app” for WSLg that has us excited — and that’s virt-manager, the RedHat-originated virtualization management tool. virt-manager is a simple tool that streamlines the creation, management, and operation of virtual machines using the Linux Kernel Virtual Machine… virt-manager never got a Windows port and seems unlikely to. But it runs under WSLg like a champ.

They reported a few problems, like when running GNOME’s Software Center app (and the GNOME shell desktop environment).
But “If you’re already a Windows Subsystem for Linux (WSL) user, Windows 11 offers an enormously improved experience compared to what you’re accustomed to from Windows 10. It installs more easily, makes more functionality available, and offers better desktop integration than older workarounds such as running MobaXTerm’s X11 server.”

Read more of this story at Slashdot.