Microsoft’s Windows Subsystem for Linux (WSL) has allowed users to install a Linux distribution and run command line applications since Windows 10 first launched in 2015. Initially aimed at developers who wanted to be able to use Linux tools without rebooting or loading a virtual machine, WSL has picked up a number of improvements and features over the years.

Now it’s getting the biggest update yet – starting with Windows 10 Insider Preview Build 21364, WSL isn’t just for command line tools anymore. You can use it to run desktop Linux application with a graphical user interface (GUI) on Windows.

Microsoft has nicknamed the new feature WSLg (g for GUI), and the company is still primarily targeting developers. So in a blog post announcing the new feature, Microsoft highlights some of the software developers might want to use including:

  • Linux IDEs (Integrated Development Environments)
  • Build and test Linux applications from a Windows environment

But developers and casual users alike will also be able to use WSLg to run Linux-only applications that might not otherwise be available for Windows. Among other things, Microsoft notes that there’s support for hardware-accelerated 3D graphics and for audio recording and playback using your Windows computer’s mic, speakers, and other audio hardware.

You can find more details about how WSLg works in Microsoft’s blog psot and a companion article about WSLg architecture, but in a nutshell the Windows Subsystem for Linux now includes a “companion system distro, containing a Wayland, X server, pulse audio server, and everything else needed to make Linux GUI apps communicate with Windows.” So when you install Ubuntu, Debian, openSUSE, Kali, or another Linux distribution on a Windows 10 PC and then install Linux GUI apps, the WSLg companion software will handle the graphics and audio stuff.

You can also find the source code for WSLg at GitHub.

Members of the Windows Insider program running build 21364 or later can enable support for Linux GUI apps by either installing WSL with the “wsl –install” command (without quotes), or if it’s already installed on your computer, you can update to the latest version by running “wsl –update.”

Other changes in the latest Windows Insider Preview release include an Eco mode in the Windows Task Manager, allowing users to throttle process resources if you want to prioritize other tasks, support for process classification for the Microsoft Edge browser in the Task Manager, and support for the Japanese 50-on touch keyboard as an on-screen virtual keyboard option.

Share this article:

Support Liliputing

Liliputing's primary sources of revenue are advertising and affiliate links (if you click the "Shop" button at the top of the page and buy something on Amazon, for example, we'll get a small commission).

But there are several ways you can support the site directly even if you're using an ad blocker* and hate online shopping.

Contribute to our Patreon campaign

or...

Contribute via PayPal

* If you are using an ad blocker like uBlock Origin and seeing a pop-up message at the bottom of the screen, we have a guide that may help you disable it.

Join the Conversation

6 Comments

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  1. I wonder if people will get better graphics performance than running on a Linux distro natively.

    I’m not a SW dev and I mostly choose Linux on my personal computers because I find it much easier to automate system level things in a Linux environment (pretty much everything’s just a file you read/write/modify) than in a Windows one using PowerShell/Batch scripts and that scheduler Cron-like GUI tool.

    Have people been able to control system level things from Shell/Python scripts in WSL? For example, battery charge levels, connect/disconnect USB devices, soft reset PCIe devices, CPU settings (ie. max frequency, turbo boost, etc.) and generally control things normally done via the Settings app/Control Panel.

    1. Usually it’s Linux who performs better in the same conditions. Games which have Vulcan native support are example. It’s just because Windows are bloated with unnecessary stuff and spying telemetry.

    2. It’d be funny if graphics/gaming is better through WSLg than natively on a Linux distro.

      Gaming on Linux is subpar for sure unless you cherry pick the conditions where Linux wins.

      1. At most it would be the same, cannot be better. It seems you don’t seem to grasp the basics of computing.
        Also there is not that much cherry picking nowadays on Linux gaming, VFIO has been going on for a bit now and in most cases gives you baremetal performance for a windows VM running inside Linux, and then there’s proton that also gives you close to or same performance as in windows depending on the game.
        And then there is the cherry picking with a few games not compatible with Proton or even VFIO (especially games with anti-cheat aka DRM).
        Also don’t bother replying to me, I never come back to check, since I’m always the winner anyway so I just pick my trophy and keep going. Good luck little fella.

      2. Yeah. Linux gaming is horrible unless you’re one of those Linux fanboys then it’s awesome for no real reasons.