[Bug 1853343] Re: [SRU] Please detect sound and X server in WSL2, too
Łukasz Zemczak
1853343 at bugs.launchpad.net
Thu Dec 12 16:58:24 UTC 2019
Hello Balint, or anyone else affected,
Accepted wslu into xenial-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/wslu/2.3.2-0ubuntu2~16.04.3 in a
few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, without details of
your testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: wslu (Ubuntu Xenial)
Status: Triaged => Fix Committed
** Tags removed: verification-done-xenial
** Tags added: verification-needed-xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to wslu in Ubuntu.
https://bugs.launchpad.net/bugs/1853343
Title:
[SRU] Please detect sound and X server in WSL2, too
Status in wslu package in Ubuntu:
Fix Released
Status in wslu source package in Xenial:
Fix Committed
Status in wslu source package in Bionic:
Fix Committed
Status in wslu source package in Disco:
Fix Committed
Status in wslu source package in Eoan:
Fix Committed
Bug description:
[Impact]
* Ubuntu in WSL2 does not detect the PulseAudio or X11 server running on Windows. Detecting them is easy and doing so improves the setup experience.
* The additional detection logic slowed down the login further, thus a minor speed optimization is also part of the change.
[Test Case] (Run once in WSL1 and once in WSL2)
* Install and start PulseAudio for Windows ( https://wiki.ubuntu.com/WSL#Enabling_Sound )
* Install and start an X11 server for Windows ( https://wiki.ubuntu.com/WSL#Running_Graphical_Applications )
* 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.
Detecting X and PulseAudio may also break in WSL1 with the changed
detection logic, but tests include verifying that this still works.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wslu/+bug/1853343/+subscriptions
More information about the foundations-bugs
mailing list