[Bug 1853343] Re: Please detect sound and X server in WSL2, too
Balint Reczey
balint.reczey at canonical.com
Thu Nov 21 13:52:14 UTC 2019
** Description changed:
[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.
+ * 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
+ * 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:
+ Command 'pulseaudio' not found, but can be installed with:
- apt install pulseaudio
+ 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 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
+ * 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
+ * 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.
--
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:
Please detect sound and X server in WSL2, too
Status in wslu package in Ubuntu:
New
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