Connect with us

Tech

The best part of Windows 11 is the improved Windows subsystem for Linux.

Published

on

 


Extending / Installing and using the Windows subsystem for Linux is easier and more productive on Windows 11 than on Windows 10.

Jim Salter

The main Windows 11 review, posted earlier this week, covered most of the new features and design decisions of Microsoft’s latest consumer operating system. I feel that it is rational to characterize the overall impression given there as “slimy”. Fortunately, we haven’t covered Linux, which is the best part of Windows 11.

For years, Windows Subsystem for Linux on Windows 10 has eased the lives of developers, system administrators, and enthusiasts who have set foot in the world of Windows and Linux. However, WSL has suffered from some problems that it couldn’t do because of its convenience. Installing WSL has never been easier and it has historically been possible to get a graphical app to work, but there was also a pain in the butt that required fairly ambiguous third-party software.

Windows 11 will eventually fix both of these issues. The Windows subsystem for Linux isn’t complete in Windows 11, but it’s a significant improvement over its predecessor.

Installing WSL on Windows 11

You cannot install WSL from the standard CMD prompt. You need an elevated prompt.

Jim Salter

From within the promoted CMD, wsl –install is sufficient. A single reboot will result in a WSL with built-in audio and graphics support.

Jim Salter

Microsoft has traditionally made installing WSL more cumbersome than it should be, but in the end it was able to run the process correctly in Windows 10 Build 2004. Just open an elevated command prompt ([スタート]->[cmd]Enter->[管理者として実行]Click), type wsl –install at the prompt, and you’re ready to go. Thankfully, Windows 11 will continue this process unchanged.

You can get Hyper-V and other WSL infrastructure, as well as the current version of Ubuntu, using a simple wsl –install with no arguments. If you’re not a fan of Ubuntu, you can use commandwsl –list –online to see other distributions that are easy to install. If you want to use a different distribution, you can instead install it using, for example, wsl –install -dopenSUSE-42.

advertisement

If you don’t know which distribution you prefer, don’t worry. Simply repeat wsl –list –online to enumerate the options, then repeat wsl –install -d distroname to install whatever you like, and you can install as many as you like.

Installing the second distribution does not uninstall the first distribution. Create a separate environment that is independent of other environments. You can run these installed environments as often as you like, without fear that one environment will ruin another.

WSL now supports graphics and sound In addition to being easy to install, WSL on Windows 11 supports both graphics and audio in WSL apps. This is not the first product Microsoft debuted WSLg in April with Windows 10 Insider Build 21364. However, Windows 11 is the first commercial Windows build to support WSLg.

If you are new to WSLg, the short version is simple. For example, if you install a GUI app such as Firefox from the Ubuntu (or other distribution) command line, it works as expected, including the sound. After installing WSLg on Windows 11 on a Framework laptop, running firefox from an Ubuntu terminal automatically popped up an iconic browser. Going to YouTube worked perfectly in it, with no video frame drops or audio glitches.

If you’re looking for how WSLg works, you can start there. Microsoft has decided to use the Wayland protocol to build ahead of the future, rather than the increasingly aging X11 / xorg. To make everything work, this is an X / Wayland app that builds a graphical interface on the Weston reference compositor for Wayland, connects to X Wayland to support X clients, and FreeRDP runs on native Windows systems and WSLg. Meaning to provide a connection between.

If you want to dig deeper into the WSLg architecture, I highly recommend Microsoft’s own April 19th development blog post on that very topic.

What can I do with WSLg in Windows 11?

Firefox is not installed only on Windows 11 in the WSLg environment.

Jim Salter

This is my favorite usage of WSLga local copy of virt-manager to manage virtual machines hosted on remote Linux servers.

Jim Salter

One of the most recurring questions we’ve seen about WSLg can be described as “Why bother?” This is because most of the GUI “killer apps” in the Linux world are not really Linux-specific. Most have already been ported directly to the Windows platform. Also, for these apps, it often makes more sense to run a native Windows port.

advertisement

That said, there is one obvious “killer app” for WSLg that is exciting us. It’s virt-manager, a virtualization management tool developed by Red Hat. virt-manager is a simple tool that uses Linux kernel virtual machines to streamline the creation, management, and operation of virtual machines.

You can use virt-manager to see a brief list of VMs and the amount of disk, network, and CPU activity currently associated with each. You can also add or remove RAM, “disks”, network interfaces, etc. to work with virtual “hardware” and start, pause, or stop them. Creating and destroying VMs is as easy as managing them, and finally virt-manager allows you to pull a graphical console directly to each VM. It behaves like a physical display connected to a bare metal machine.

If all of this works only on localhost, then WSLg doesn’t help at all. Nested virtualization is important, but usually not what you want to do in a production environment. However, you can use virt-manager to manage VMs on any machine that you can SSH into, not just the localhost. In practice, this remote management feature is used to manage dozens of hosts (and thousands of VMs) on a daily basis, both locally and remotely.

However…

Unfortunately, virt-manager has never acquired a Windows port and seems unlikely to acquire it. But it runs under WSLg like a champion. In the screenshot above, you can see a Framework laptop running virt-manager under WSLg connected to an Ubuntu workstation via SSH. Various VMs are installed and running on Ubuntu workstations, and the Framework laptop virt-manager can manage all of them, including the Hackintosh VM with a console window and the Windows Server 2012 R2 VM.

At the top of this virtualization cake is how well these console windows work. You can play YouTube on the Hackintosh VM console without any problems, and glitch-free audio works. Ironically, this is a better remote control experience than can be managed on myreal Macbook Air, which is unbearable to use for spreadsheet work because it’s limited to VNC over Wi-Fi.

Sources

1/ https://Google.com/

2/ https://arstechnica.com/gadgets/2021/10/the-best-part-of-windows-11-is-a-revamped-windows-subsystem-for-linux/

The mention sources can contact us to remove/changing this article

What Are The Main Benefits Of Comparing Car Insurance Quotes Online

LOS ANGELES, CA / ACCESSWIRE / June 24, 2020, / Compare-autoinsurance.Org has launched a new blog post that presents the main benefits of comparing multiple car insurance quotes. For more info and free online quotes, please visit https://compare-autoinsurance.Org/the-advantages-of-comparing-prices-with-car-insurance-quotes-online/ The modern society has numerous technological advantages. One important advantage is the speed at which information is sent and received. With the help of the internet, the shopping habits of many persons have drastically changed. The car insurance industry hasn't remained untouched by these changes. On the internet, drivers can compare insurance prices and find out which sellers have the best offers. View photos The advantages of comparing online car insurance quotes are the following: Online quotes can be obtained from anywhere and at any time. Unlike physical insurance agencies, websites don't have a specific schedule and they are available at any time. Drivers that have busy working schedules, can compare quotes from anywhere and at any time, even at midnight. Multiple choices. Almost all insurance providers, no matter if they are well-known brands or just local insurers, have an online presence. Online quotes will allow policyholders the chance to discover multiple insurance companies and check their prices. Drivers are no longer required to get quotes from just a few known insurance companies. Also, local and regional insurers can provide lower insurance rates for the same services. Accurate insurance estimates. Online quotes can only be accurate if the customers provide accurate and real info about their car models and driving history. Lying about past driving incidents can make the price estimates to be lower, but when dealing with an insurance company lying to them is useless. Usually, insurance companies will do research about a potential customer before granting him coverage. Online quotes can be sorted easily. Although drivers are recommended to not choose a policy just based on its price, drivers can easily sort quotes by insurance price. Using brokerage websites will allow drivers to get quotes from multiple insurers, thus making the comparison faster and easier. For additional info, money-saving tips, and free car insurance quotes, visit https://compare-autoinsurance.Org/ Compare-autoinsurance.Org is an online provider of life, home, health, and auto insurance quotes. This website is unique because it does not simply stick to one kind of insurance provider, but brings the clients the best deals from many different online insurance carriers. In this way, clients have access to offers from multiple carriers all in one place: this website. On this site, customers have access to quotes for insurance plans from various agencies, such as local or nationwide agencies, brand names insurance companies, etc. "Online quotes can easily help drivers obtain better car insurance deals. All they have to do is to complete an online form with accurate and real info, then compare prices", said Russell Rabichev, Marketing Director of Internet Marketing Company. CONTACT: Company Name: Internet Marketing CompanyPerson for contact Name: Gurgu CPhone Number: (818) 359-3898Email: [email protected]: https://compare-autoinsurance.Org/ SOURCE: Compare-autoinsurance.Org View source version on accesswire.Com:https://www.Accesswire.Com/595055/What-Are-The-Main-Benefits-Of-Comparing-Car-Insurance-Quotes-Online View photos

ExBUlletin

to request, modification Contact us at Here or [email protected]