Introducing the 'WSLg' feature that enables Linux GUI apps, including audio and graphics apps, on Windows 10



On April 21, 2021, Microsoft announced the release of Windwos 10's Insider Preview Build 21364. This build allows you to run Linux GUI applications using

Windows Subsystem for Linux 2 (WSL2).

The Initial Preview of GUI app support is now available for the Windows Subsystem for Linux | Windows Command Line
https://devblogs.microsoft.com/commandline/the-initial-preview-of-gui-app-support-is-now-available-for-the-windows-subsystem-for-linux-2/

Introducing Linux GUI apps running on Windows using the Windows Subsystem for Linux (WSL) --YouTube


This feature, which allows you to run Linux GUI applications in a Windows environment, is called 'WSLg' and is developed in open source. In Windows, you can edit code on a remote OS using Remote Development of Visual Studio Code , whereas with WSLg you can build Linux apps directly on Windows with gedit , GVim, JetBrains-based editors, etc. It is possible to debug and so on. In the past, when displaying a Linux GUI application on Windows, it was necessary to set and execute an application such as an X server in advance, but when executing WSLg, such a distribution automatically starts and ends processing. It is said that it is done so that the user is not aware that the distribution is working.



It is also possible to run GUI applications that exist only in Linux, or original applications directly on Windows, or test in a Linux environment. Audio and microphone are also supported and can be recorded and played back in Audacity running on Linux.



In addition to this, 3D acceleration utilizing GPU access of WSL is also enabled, and in applications performing complex 3D rendering, it is also possible to speed up the drawing operation processing of

OpenGL by entrusting it to the GPU. I am.



Note that you must be using Insider Preview build 21364 or later to use WSLg. If WSL is already installed, you can use WSLg by executing it as it is. If you do not have it installed, you can follow the steps on this page to automatically install WSLg as part of your WSL setup.

in Software, Posted by log1p_kr