[SRU] Please detect sound and X server running on Windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wslu (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Ubuntu in WSL does not detect the PulseAudio or X11 server running on Windows. Detecting them is easy and doing so improves the setup experience.
[Test Case]
* Install and start PulseAudio for Windows ( https:/
* Install and start an X11 server for Windows ( https:/
* Start the Ubuntu WSL terminal
* Make sure pulseaudio is not installed:
$ pulseaudio
Command 'pulseaudio' not found, but can be installed with:
apt install pulseaudio
* Install mpg321 and x11-utils inside Ubuntu and run xeyes and play an MP3 file
$ sudo apt install x11-utils mpg321
$ xeyes
$ mpg321 foo.mp3
* Install pulseaudio
$ sudo apt install pulseaudio
* Close all Ubuntu WSL sessions
* Start the Ubuntu WSL terminal again
* Play an MP3 again, it should still work
[Regression Potential]
* Since the detection takes place in setting the profile mistakes in the implementation may trigger errors show to the users on login.
This bug was fixed in the package wslu - 2.0.0-0ubuntu3
---------------
wslu (2.0.0-0ubuntu3) eoan; urgency=medium
* Set DISPLAY=:0 when an X11 server is running (LP: #1836552)
* Use PulseAudio if it is running on Windows (LP: #1836552)
* Set up sound, too, when starting GUI programs via Windows desktop shortcuts
(LP: #1836552)
-- Balint Reczey <email address hidden> Mon, 15 Jul 2019 12:05:41 +0200