
Lastly, we’re excited to present that we are using Microsoft’s CBL-Mariner distribution for this system distro! CBL-Mariner is an internal Linux distribution used traditionally for Microsoft’s cloud infrastructure and edge products and services, and we are now extending its use to support GUI apps inside of WSL. Our intentions are for this system distro to be as invisible to the user as possible, and this is why you won’t see this system distro when you run wsl -l -v. Like with the rest of WSL plumbing, our intention is for this component to be fully managed and seamless for users. After you’re finished using GUI applications and terminate your WSL distribution the system distro will automatically end its session as well. That’s because with this feature we are automatically starting a companion system distro, containing a Wayland, X server, pulse audio server, and everything else needed to make Linux GUI apps communicate with Windows. Thanks to GPU accelerated 3D graphics we can run this demo at 60 FPS!įrom the demos above, you might have noticed we didn’t need to start an X server manually.
Wsl2 goland driver#
This experience will soon be included by default with different WSL distributions, however you can gain access to it right away by following the instructions in this blog post to get the right graphics driver and to ensure your distro has a compatible Mesa version.īelow you can see the Gazebo application simulating a robot exploring a virtual cave, as well as the Rviz application visualizing the camera feed of the robot and its laser field sensor’s output. This will make some of your more complex applications run smoothly, such as running Gazebo, a robotics simulation tool.
Wsl2 goland windows 10#
Here’s an example of using Audacity running on Linux to record some audio and play it back.īonus: Leverage WSL’s GPU access to run Linux applications with 3D accelerationĪs part of this feature, we have also enabled support for GPU accelerated 3D graphics! Thanks to work that was completed in Mesa 21.0, any applications that are doing complex 3D rendering can leverage OpenGL to accelerate these using the GPU on your Windows 10 machine.
Wsl2 goland movie#
This exciting aspect will let your apps play audio cues and utilize the microphone, perfect for building, testing, or using movie players, telecommunication apps, and more. Linux GUI applications on WSL will also include out of the box audio and microphone support. Let’s look at an example of running TestCafe Studio in WSL to do some web testing from a Microsoft Edge browser running in Linux.īuild, test and use Linux applications that use audio or the microphone with built in audio support This could be incredibly useful for developers who want to test their cross-platform app, as they can now run it directly on Windows 10, and then easily inside of Linux without ever needing to change machines or manage a virtual machine. You can use this feature to run any GUI application that might only exist in Linux, or to run your own applications or testing in a Linux environment. Run Linux only applications, or Linux specific use cases like testing

Here’s an example of running gedit and gvim to edit Linux files directly in WSL. WSLg will let you run other IDEs such as gedit, JetBrains based editors, gvim, etc., to test, build, and debug your Linux applications in a performant manner.
Wsl2 goland code#
Visual Studio Code has an amazing experience using VS Code Remote to create a way for you to have a full-fledged Linux IDE directly on your Windows machine, keep extensions and settings across both Windows and different WSL distros (you can view our getting started with VS Code tutorial here. Use your IDE of choice to develop Linux projects

Below, we’ve highlighted some key scenarios to help you fall in love with running applications in a Linux environment. WSL is used in a wide variety of applications, workloads, and use cases, so ultimately, it’s up to you on what you’d like to use GUI app support for. GUI app support now lets you use your favorite Linux GUI applications as well. WSL lets you run a Linux environment, and up until this point has focused on enabling command line tools utilities and applications. What can I use GUI application support for?
