Microsoft introduced in the present day on the Construct 2021 developer convention that help for operating Linux GUI apps is now obtainable through Home windows Subsystem for Linux (WSL).
The characteristic was first released one month in the past and it permits Home windows 10 customers to run Linux (X11 and Wayland) functions with a GUI (graphical person interface) with out utilizing a digital machine.
“Help for Linux graphical person interface (GUI) apps at the moment are obtainable within the Home windows Subsystem for Linux (WSL),” as the corporate stated in the present day, throughout this yr’s Microsoft Construct 2021 developer occasion. “WSL permits customers to run their favourite Linux instruments, utilities and apps for developer workflows.”
This new characteristic is called WSLg (quick for Home windows Subsystem for Linux GUI) and it has been formally added with the discharge of Home windows 10 Insider Preview Construct 21364 within the Dev Channel, on April 21, 2021.
WSLg requires a minimum of Home windows 10 Insider Preview construct 21362+ and “goes to be usually obtainable alongside the upcoming launch of Home windows,” as Microsoft explains on the project’s GitHub page.
Which means that the characteristic is now obtainable to all Insiders within the Dev Channel, however these within the Beta and Launch Preview channels may also get entry by switching to the Dev Channel.
The characteristic will more than likely be made obtainable to all clients later this yr with the launch of Home windows 10 21H2, the following Home windows 10 model.
Easy methods to get help for Linux GUI apps proper now
An in-depth view of how this characteristic works, together with extra technical particulars, is obtainable in this blog post. Detailed directions on putting in WSLg on Home windows 10 computer systems can be found here.
Microsoft additionally gives step-by-step guidance on how one can set up and launch Linux GUI apps in your PC. As soon as put in, they are often launched from the Begin menu or a terminal window.
“Please word that WSLg is barely suitable with WSL 2 and won’t work for WSL distribution configured to work in WSL 1 mode,” Microsoft says. “Confirm that your Linux distro is configured for operating in WSL 2 mode, if not change to WSL 2.”
WSLg begins “a companion system distro, containing a Wayland, X server, pulse audio server, and all the pieces else wanted to make Linux GUI apps talk with Home windows,” as Home windows Developer Platform Program Supervisor Craig Loewen defined.
“After you’re completed utilizing GUI functions and terminate your WSL distribution the system distro will routinely finish its session as effectively.