Although you could run Linux apps on Windows 10 with WSL for a long time, the system was limited to command-line tools and applications. However, starting with build 21364 and higher releases (with a special update to the WSL integration), Microsoft is finally bringing GUI (graphical user interface) support to run your favorite Linux applications with the mouse and keyboard. The new feature is to develop and test your applications on Linux without needing a virtual machine, but you can use it for anything. The implementation even includes support for speakers and microphones, so if you install a media app, the peripherals will pass through and appear in the app. GPU accelerated 3D graphics are also supported to run any app that needs to do complex 3D rendering leveraging OpenGL. When using this feature, there is no need to start an X server manually since WSL automatically starts a “companion system distro,” which includes a Wayland, X server, pulse audio server, and all the required components. Then after you close the app and the WSL session, the system distro will end automatically. This guide will teach you the steps to download and install graphical Linux applications on Windows 10. You can also watch this video tutorial with the step-by-step to complete this process.
Install Linux GUI apps via WSL on Windows 10 Install or update WSL on Windows 10
Install Linux GUI apps via WSL on Windows 10
To install a Linux GUI app on Windows 10, use these steps: Once you complete the steps, the app will install and register in the Start menu, which means that you can launch the app by running the app’s name in the Windows Subsystem for Linux (WSL) console or from the Start menu. In the command, replace APP-NAME with the graphical app you want to install. This example installs the gedit text editor app:
The above instructions outline the steps to install a simple app from known repositories, but depending on the app, the instructions may differ. The good news is that the installation process is the same as any other Linux application. You can follow the developer steps to install virtually any application, such as VLC, Audacity, web admin, etc. If you launch the Linux GUI app from the Windows 10 Start menu, you will find the entries in the “Recently added” list, or you can also find them inside the (distro name) folder below the Linux distro entry. As you launch the app, the virtual machine will spin, and it will run (in a few seconds) without needing to open the WSL console. You will also notice that the taskbar will show the icon with a Linux logo, indicating that you are not running a Windows 10 application. The experience of using a graphical Linux app on Windows 10 feels native, but it’s not. The app renders with all the Linux visual styles for the frame, menus, and other elements, and there is even a shadow around the edge, and every window works independently. However, it is a remote desktop connection, which Microsoft is leveraging with the RemoteApp feature built into the operating system.
Install or update WSL on Windows 10
The ability to run Linux GUI apps requires the Windows Subsystem for Linux 2 integration, which means you must have the latest feature and distribution version to install and run your applications. If you have WSL2 already installed, then you will need to update the feature. Before installing or updating WSL2, the device must have the Windows 10 build 21364 or higher release. Also, as a prerequisite, you must install the driver to enable a virtual GPU (vGPU) to use hardware-accelerated OpenGL rendering before installing applications. Here are the download links:
NVIDIA GPU driver. Intel GPU driver. AMD GPU driver.
Install WSL2 on Windows 10
These instructions will show you how to install WSL2 and the Ubuntu Linux distribution to get started running GUI apps. To install WSL2 components to run Linux GUI apps, use these steps: Once you complete the steps, the required Linux components will install automatically, and the command will also download the latest version of the Ubuntu Linux distro.
After the installation, you only need to open the distro from the Start menu and continue with the on-screen directions to complete the setup. You can use these instructions if you want to install a different distro to run apps instead of Ubuntu.
Update WSL2 on Windows 10
If you already have the Windows Subsystem for Linux 2 installed, confirm the system has the latest updates to run GUI apps. To update WSL2 to download the GUI support for Linux apps, use these steps: After you complete the steps, the latest version of WSL will download automatically. Then you can use the above instructions to install Linux GUI apps.
All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.