Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1032351: wireplumber.service: fails to start, reporting 'Failed to connect to session bus'

320 views
Skip to first unread message

James Addison

unread,
Mar 4, 2023, 9:20:04 AM3/4/23
to
Package: wireplumber
Version: 0.4.13-1
Severity: normal

Dear Maintainer,

On this Debian 12 (bookworm) system, sound output in the GNOME and Wayland
desktop environment became unavailable recently.

The only output device listed in the 'Sound' panel of gnome-control-center
is 'Dummy Output'; however, multiple devices are listed in the output of
the 'aplay -l' command:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20753/4 Analog [CX20753/4 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
...


The following entries are present in the system journal for wireplumber, as
produced by running 'journalctl --user --merge --unit wireplumber':

wireplumber[pid]: Failed to connect to session bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
wireplumber[pid]: Error acquiring bus address: Cannot autolaunch D-Bus without X11 $DISPLAY
wireplumber[pid]: <12-digit-hex>: leaked proxy <12-digit-hex> id:<integer-id>
wireplumber[pid]: disconnected from pipewire


As a workaround, running 'wireplumber' from the command-line (using the
logged-in user account) restores the expected behaviour: sound is emitted
again, and audio output devices are listed in gnome-control-center.

Thank you,
James

-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-5-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wireplumber depends on:
ii init-system-helpers 1.65.2
ii libc6 2.36-8
ii libglib2.0-0 2.74.5-1
ii libpipewire-0.3-0 0.3.65-3
ii libwireplumber-0.4-0 0.4.13-1
ii pipewire 0.3.65-3

Versions of packages wireplumber recommends:
ii pipewire-pulse 0.3.65-3

Versions of packages wireplumber suggests:
ii libspa-0.2-bluetooth 0.3.65-3
pn wireplumber-doc <none>

-- no debconf information

James Addison

unread,
Mar 4, 2023, 12:10:04 PM3/4/23
to
Followup-For: Bug #1032351

On Sat, 4 Mar 2023 17:40:24 +0100, Michael wrote:
> Is dbus-user-session / libpam-systemd installed?

Yes, both of those packages:

$ apt list dbus-user-session libpam-systemd
Listing... Done
dbus-user-session/testing,now 1.14.6-1 amd64 [installed,automatic]
libpam-systemd/testing,now 252.5-2 amd64 [installed]

> What's the output of systemctl --user status wireplumber.service

$ systemctl --user status wireplumber.service
× wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since <time>
Duration: <some>ms
Process: <pid> ExecStart=/usr/bin/wireplumber (code=exited, status=70)
Main PID: <pid> (code=exited, status=70)
CPU: <some>ms

James Addison

unread,
Mar 6, 2023, 7:30:04 AM3/6/23
to
Package: wireplumber
Followup-For: Bug #1032351

Package 'dbus-user-session' is-and-was also present on the system:

$ apt list dbus-user-session
Listing... Done
dbus-user-session/testing,now 1.14.6-1 amd64 [installed]

However, some of the systemd user files were missing from the filesystem. In
particular, '/usr/lib/systemd/user/dbus.service' was not there.

To remedy that, I've re-installed the 'dbus-user-session' package:

$ sudo apt install --reinstall dbus-user-session

The problem isn't entirely resolved yet; it might be necessary to auto-enable
dbus in the systemd user session.

James Addison

unread,
Mar 6, 2023, 7:40:04 AM3/6/23
to
Package: wireplumber
Followup-For: Bug #1032351
Control: close -1

After rebooting the system, sound is available again.

Various other user-context systemd files appear to be missing; I don't think
those were removed from the system manually, but nor can I confirm yet what
the cause was (if I can, and if there is a bug, then I'll open a separate bug
for that).

Apologies for what seems to have been an unnecessary bugreport and/or operator
error.

Michael Biebl

unread,
Mar 7, 2023, 8:52:03 AM3/7/23
to
Am 06.03.23 um 13:31 schrieb James Addison:
> Package: wireplumber
> Followup-For: Bug #1032351
> Control: close -1
>
> After rebooting the system, sound is available again.
>
> Various other user-context systemd files appear to be missing; I don't think
> those were removed from the system manually, but nor can I confirm yet what
> the cause was (if I can, and if there is a bug, then I'll open a separate bug
> for that).

I would suggest to run "debsums" to find missing files.

OpenPGP_signature

James Addison

unread,
Mar 7, 2023, 1:40:04 PM3/7/23
to
Followup-For: Bug #1032351
X-Debbugs-Cc: bi...@debian.org

On Tue, 7 Mar 2023 14:43:16 +0100, Michael Biebl wrote:
>
> Am 06.03.23 um 13:31 schrieb James Addison:
> > Various other user-context systemd files appear to be missing; I don't think
> > those were removed from the system manually, but nor can I confirm yet what
> > the cause was (if I can, and if there is a bug, then I'll open a separate bug
> > for that).

> I would suggest to run "debsums" to find missing files.

That was very helpful advice and allowed me to find the remaining packaged
files that were missing from the system; thank you.

James Addison

unread,
Mar 20, 2023, 11:40:04 AM3/20/23
to
Followup-For: Bug #1032351
Control: archive -1
0 new messages