[SRU] Please detect sound and X server running on Windows

Bug #1836552 reported by Balint Reczey
10
This bug affects 1 person
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://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.

tags: added: id-5d2c50f564da3479b4d009cb
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in wslu (Ubuntu):
status: New → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Balint, or anyone else affected,

Accepted wslu into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/wslu/2.0.0-0ubuntu2.19.04.0 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-disco to verification-done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-disco. 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 Disco):
status: New → Fix Committed
tags: added: verification-needed verification-needed-disco
Changed in wslu (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Balint, or anyone else affected,

Accepted wslu into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/wslu/2.0.0-0ubuntu2~18.04.1 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-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. 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.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

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.0.0-0ubuntu2~16.04.1 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: New → Fix Committed
tags: added: verification-needed-xenial
Revision history for this message
Balint Reczey (rbalint) wrote :

Verified 2.0.0-0ubuntu2~16.04.1 on Xenial and 2.0.0-0ubuntu2~18.04.1 on Bionic.

X11 server is automatically detected and sound is also working with and without pulseaudio server package installed.

tags: added: verification-done-bionic verification-done-xenial
removed: verification-needed-bionic verification-needed-xenial
Revision history for this message
Balint Reczey (rbalint) wrote :

Verified 2.0.0-0ubuntu2.19.04.0 on Disco (after upgrading from Bionic).
Firefox's sound and GUI both work without extra configuration in Ubuntu with and without pulseaudio package installed.

tags: added: verification-done verification-done-disco
removed: verification-needed verification-needed-disco
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wslu - 2.0.0-0ubuntu2~16.04.1

---------------
wslu (2.0.0-0ubuntu2~16.04.1) xenial; 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 13:33:08 +0200

Changed in wslu (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Robie Basak (racb) wrote : Update Released

The verification of the Stable Release Update for wslu has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wslu - 2.0.0-0ubuntu2~18.04.1

---------------
wslu (2.0.0-0ubuntu2~18.04.1) bionic; 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 13:32:03 +0200

Changed in wslu (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wslu - 2.0.0-0ubuntu2.19.04.0

---------------
wslu (2.0.0-0ubuntu2.19.04.0) disco; 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 13:31:02 +0200

Changed in wslu (Ubuntu Disco):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Balint, or anyone else affected,

Accepted wslu into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/wslu/2.3.2-0ubuntu2~19.04 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-disco to verification-done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-disco. 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 Disco):
status: Fix Released → Fix Committed
tags: added: verification-needed verification-needed-disco
removed: verification-done verification-done-disco
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Balint, or anyone else affected,

Accepted wslu into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/wslu/2.3.2-0ubuntu2~18.04.0 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-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. 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 Bionic):
status: Fix Released → Fix Committed
tags: added: verification-needed-bionic
removed: verification-done-bionic
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

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.0 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: Fix Released → Fix Committed
tags: added: verification-needed-xenial
removed: verification-done-xenial
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

This bug number has been invalidly included in the latest wslu backports to disco, bionic and xenial, so by accepting the SRUs they have changed the status to Fix Committed. But since this is a direct backport of the focal version, I do not require explicit re-testing of this bug as part of the verification.

Please switch to verification-done-* whenever you're done with all the other verification.

Balint Reczey (rbalint)
description: updated
Revision history for this message
Balint Reczey (rbalint) wrote :

Verified on Disco, Bionic and Xenial.

tags: added: verification-done verification-done-bionic verification-done-disco verification-done-xenial
removed: verification-needed verification-needed-bionic verification-needed-disco verification-needed-xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wslu - 2.3.2-0ubuntu2~19.04

---------------
wslu (2.3.2-0ubuntu2~19.04) disco; urgency=medium

  * Backport to Disco (LP: #1849679)

wslu (2.3.2-0ubuntu2) focal; urgency=medium

  * Suppress pulseaudio error on starting shell when pulseaudio-utils is installed
    (LP: #1844671)

wslu (2.3.2-0ubuntu1) eoan; urgency=medium

  [ Sebastien Bacher ]
  * debian/postinst, debian/prerm:
    - register also the www-browser alternative, the non-x-variant is
      used by xdg-open when DISPLAY is unset

  [ Balint Reczey ]
  * New upstream release
    - Fix support for Windows user names with space
  * Add autopkgtest
  * Fix saving configuration when the Windows user name contains space
  * Refresh patches

wslu (2.3.0-1ubuntu1) eoan; urgency=medium

  * debian/control: Set Vcs-* fields
  * New upstream release
    - Stop changing terminal font when running wsl* commands (LP: #1836208)
  * Refresh patches
  * debian/rules: Run tests in WSL only

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> Thu, 24 Oct 2019 16:15:20 +0200

Changed in wslu (Ubuntu Disco):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wslu - 2.3.2-0ubuntu2~18.04.0

---------------
wslu (2.3.2-0ubuntu2~18.04.0) bionic; urgency=medium

  * Backport to Bionic (LP: #1849679)

wslu (2.3.2-0ubuntu2) focal; urgency=medium

  * Suppress pulseaudio error on starting shell when pulseaudio-utils is installed
    (LP: #1844671)

wslu (2.3.2-0ubuntu1) eoan; urgency=medium

  [ Sebastien Bacher ]
  * debian/postinst, debian/prerm:
    - register also the www-browser alternative, the non-x-variant is
      used by xdg-open when DISPLAY is unset

  [ Balint Reczey ]
  * New upstream release
    - Fix support for Windows user names with space
  * Add autopkgtest
  * Fix saving configuration when the Windows user name contains space
  * Refresh patches

wslu (2.3.0-1ubuntu1) eoan; urgency=medium

  * debian/control: Set Vcs-* fields
  * New upstream release
    - Stop changing terminal font when running wsl* commands (LP: #1836208)
  * Refresh patches
  * debian/rules: Run tests in WSL only

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> Thu, 24 Oct 2019 16:15:20 +0200

Changed in wslu (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wslu - 2.3.2-0ubuntu2~16.04.0

---------------
wslu (2.3.2-0ubuntu2~16.04.0) xenial; urgency=medium

  * Backport to Xenial (LP: #1849679)

wslu (2.3.2-0ubuntu2) focal; urgency=medium

  * Suppress pulseaudio error on starting shell when pulseaudio-utils is installed
    (LP: #1844671)

wslu (2.3.2-0ubuntu1) eoan; urgency=medium

  [ Sebastien Bacher ]
  * debian/postinst, debian/prerm:
    - register also the www-browser alternative, the non-x-variant is
      used by xdg-open when DISPLAY is unset

  [ Balint Reczey ]
  * New upstream release
    - Fix support for Windows user names with space
  * Add autopkgtest
  * Fix saving configuration when the Windows user name contains space
  * Refresh patches

wslu (2.3.0-1ubuntu1) eoan; urgency=medium

  * debian/control: Set Vcs-* fields
  * New upstream release
    - Stop changing terminal font when running wsl* commands (LP: #1836208)
  * Refresh patches
  * debian/rules: Run tests in WSL only

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> Thu, 24 Oct 2019 16:15:20 +0200

Changed in wslu (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.