Wsl2 sound. When running voice-mode in WSL2, you may encounter: No This is the Windows Subsystem for Linux (WSL, WSL2, WSLg) Subreddit where you can get help installing, running or using the Linux on Windows features in Windows 10. Instead of the common approach installing an X server on Windows I have used VNC, since I was fed up with the lag and the limitations of the former. WSL 2 enables Linux GUI applications to feel native and natural to use on Windows. pa in C:\pulse\. Here is a screenshot of Firefox Quantum playing YouTube videos with sound: Now you should have set up WSL will both graphics and audio. Jan 20, 2025 · Introduction While working on a feature for the Fyrox open-source engine, I ran into quite a bit of trouble configuring audio on WSL2 and Windows 11, but after some trial and error, I finally Download PulseAudio for Windows. Aug 26, 2020 · Is your feature request related to a problem? Please describe. The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2) - microsoft/WSL2-Linux-Kernel The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2) - microsoft/WSL2-Linux-Kernel May 5, 2020 · Once you made this, you will be able to hear music and sound from WSL2 running softwares, on your Windows machine! Conclusion # Using those rules, you will be able to get video and audio from your WSL2 distribution, on your Windows machine. Install PulseAudio as a Windows service. 2004 (build 19041. If you just wanted to open a Linux GUI tool alongside your Windows apps, the friction often outweighed the benefit. Its name and command to install it depends on the Linux distribution you're using, so you'll need to search for it and install it. pa the line is load-module module-native-protocol-tcp auth-anonymous=1 works fine on windows 10 build 2004 / wsl2 Nov 28, 2024 · Background & functionality To use audio (and video) under WSL2 1, it is necessary to recompile the kernel and activate additional modules. Jul 17, 2019 · I have tried everything but no sound. Have fun playing with it 🎉 The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2) - microsoft/WSL2-Linux-Kernel Feb 2, 2021 · This post only shows how to set up GUI and Sound in WSL2, and will be followed by one telling how to achieve the desktop shown above. When the platform is correctly enabled, WSL2 will start instantly without reporting kernel or virtualization errors. WSL2 has known limitations with audio device access, particularly for microphone input. Configure PulseAudio in WSL2. It is not possible to report issues on the WSL2-Linux-Kernel project. This article describes how this is possible and what steps need to be taken. To be able to rename the file extension on Windows, you'll need to enable showing the file extensions from File Explorer. G'day everyone, I have been struggling for the past 2 days to try and get audio working through my WSL2 install, and though… The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2) - microsoft/WSL2-Linux-Kernel Jun 20, 2019 · i was following a tutorial to enable sound in wsl and was working https://token2shell. For example, audio and video support is helpful when accessing the WSL2 instance via “Xrdp” 2 to use Linux as a full-fledged desktop environment on Windows. Describe the solution you'd like Add driver support of sound as update Desc Feb 3, 2026 · WSL2 Microphone Access Troubleshooting Guide Overview The voice-mode MCP server uses the Python sounddevice library for audio recording, which relies on PortAudio for cross-platform audio I/O. On Windows: The newest release of PulseAudio for Windows 10 that I could find is version 7 from here, built for X2Go. . Aug 6, 2025 · Windows Subsystem for Linux (WSL) now supports running Linux GUI applications (X11 and Wayland) on Windows in a fully integrated desktop experience. Download NSSM from here, extract the downloaded archive and copy the win64 nssm. exe executable to C:\pulse\. Launch Linux apps from the Windows Start menu Pin Linux apps to the Windows task bar Use alt-tab to switch between Linux and Windows apps Cut + Paste across Windows Mar 3, 2026 · For years, running Linux desktop applications on Windows meant juggling virtual machines, clunky X servers, or full dual-boot setups. Windows ver. The Pulseaudio doesn't natively supported by WSL2 and it difficult to link it to Windows speakers. thesim June 17, 2020, 5:21pm 5 For me work the configurations as described above, but with a change: in pulseaudio configuration in the file default. The Problem WSL2 does not natively support audio devices. On Windows: To launch PulseAudio as a Windows service, we'll use NSSM. On Windows: Create a file called config. 84), WSL2. If you're able to determine that the bug is present in the upstream Linux kernel, you may want to work directly with the upstream developers. To confirm WSL2 is actually using the hypervisor, open an elevated PowerShell window and run: wsl –status Jan 20, 2025 · Sound in WSL2 and Windows 11: PulseAudio Configuration Made Easy # pulseaudio # linux Introduction While working on a feature for the Fyrox open-source engine, I ran into quite a bit of trouble configuring audio on WSL2 and Windows 11, but after some trial and error, I finally found a straightforward solution. On WSL2 (Ubuntu / whatever you're using): Let's make sure you have libpulse0 installed, or else this won't work. Configure PulseAudio for Windows. com/howto/x410/enabling-sound-in-wsl-ubuntu-let-it-sing/ but this tutorial no longer works on wsl2 can you plz help me to make it work on wsl2 ?? You should now be able to use cmus to play audio files. WSL2 fundamentally changes that experience by making Linux feel like a native part of Windows rather than a separate system. Reporting Bugs If you discover an issue relating to WSL or the WSL2 kernel, please report it on the WSL GitHub project. 14 votes, 14 comments. 2 days ago · Running WSL2 on top of Windows Hypervisor Platform WSL2 uses a managed virtual machine that runs on the Windows hypervisor. okqif vmn pqquidpc vgf fgrf ovykh ffofv dsmb jjo ebvtn