Closed suntong closed 1 year ago
You didn't provide information about which Debian release you installed, but are you sure you're part of pulse
and/or pulse-access
groups?
Ah, yes forgot to mention that the Debian release I installed is stable, Debian GNU/Linux 11 (bullseye).
I wasn't part of pulse and pulse-access groups before as reported in OP, but I've since added them both, logged off then back in, verified that I'm in both pulse and pulse-access groups, then start pavucontrol
again.
Yet, my speaker is still not available as shown in OP. Also,
pulseaudio --check and systemctl start --user pulseaudio | wc
still gives
0 0 0
.
UPDATE:
rebooted the machine and the symptom persists.
might this the root cause?
$ pulseaudio -D
E: [pulseaudio] main.c: Daemon startup failed.
$ systemctl status pulseaudio
Unit pulseaudio.service could not be found.
Uhm, how did you manage to install pulseaudio without having pulseaudio.service
?
Output of debsums -s pulseaudio
and apt-cache policy pulseaudio
would be useful.
dunno -- I thought installing pulseaudio and pavucontrol should be good enough. Here is my current situation:
$ systemctl status pulseaudio
Unit pulseaudio.service could not be found.
-- running as root would get the same result
$ debsums -s pulseaudio
-bash: debsums: command not found
$ apt-cache policy pulseaudio
pulseaudio:
Installed: 14.2-2
Candidate: 14.2-2
Version table:
16.1+dfsg1-2+b1 80
80 http://deb.debian.org/debian bookworm/main amd64 Packages
*** 14.2-2 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status
$ dpkg -L pulseaudio
/.
/etc
/etc/alsa
/etc/alsa/conf.d
/etc/dbus-1
/etc/dbus-1/system.d
/etc/dbus-1/system.d/pulseaudio-system.conf
/etc/init.d
/etc/init.d/pulseaudio-enable-autospawn
/etc/pulse
/etc/pulse/client.conf.d
/etc/pulse/daemon.conf
/etc/pulse/default.pa
/etc/pulse/system.pa
/etc/xdg
/etc/xdg/autostart
/etc/xdg/autostart/pulseaudio.desktop
/lib
/lib/systemd
/lib/systemd/system
/lib/udev
/lib/udev/rules.d
/lib/udev/rules.d/90-pulseaudio.rules
/usr
/usr/bin
/usr/bin/pulseaudio
/usr/bin/start-pulseaudio-x11
/usr/lib
/usr/lib/pulse-14.2
/usr/lib/pulse-14.2/modules
/usr/lib/pulse-14.2/modules/libalsa-util.so
...
/usr/lib/systemd
/usr/lib/systemd/user
/usr/lib/systemd/user/pulseaudio.service
/usr/lib/systemd/user/pulseaudio.socket
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/pulseaudio
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-14.2.so
/usr/share
/usr/share/alsa
/usr/share/alsa/alsa.conf.d
/usr/share/alsa/alsa.conf.d/pulse.conf
/usr/share/alsa/pulse-alsa.conf
/usr/share/apport
/usr/share/apport/package-hooks
/usr/share/apport/package-hooks/source_pulseaudio.py
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/pulseaudio
/usr/share/bug
/usr/share/bug/pulseaudio
/usr/share/doc
/usr/share/doc/pulseaudio
/usr/share/doc/pulseaudio/NEWS.Debian.gz
...
/usr/share/pulseaudio
/usr/share/pulseaudio/alsa-mixer
/usr/share/pulseaudio/alsa-mixer/paths
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-aux.conf
...
/usr/share/zsh
/usr/share/zsh/vendor-completions
/usr/share/zsh/vendor-completions/_pulseaudio
/etc/alsa/conf.d/99-pulse.conf
/etc/pulse/client.conf.d/01-enable-autospawn.conf
/lib/systemd/system/pulseaudio-enable-autospawn.service
/usr/share/bash-completion/completions/pacat
...
$ debsums -s pulseaudio
-bash: debsums: command not found
Uhm, yeah then install debsums?
Also:
/usr/lib/systemd/user/pulseaudio.service
the file is there, so ls -la /usr/lib/systemd/user/pulseaudio.service
as well.
yeah then install debsums?
sure, but I never make any unnecessary changes to my system files so it'll pass for sure. And here is the proof:
$ debsums -s pulseaudio | wc
0 0 0
# and for /usr/lib/systemd/user/pulseaudio.service
$ ls -la /usr/lib/systemd/user/pulseaudio.service
-rw-r--r-- 1 root root 1101 2021-02-26 17:51 /usr/lib/systemd/user/pulseaudio.service
Good, also I only noticed now it's a user service, so:
systemctl status --user pulseaudio
And if it's not running, then also start it (systemctl start --user pulseaudio
)
Ah, yes, working now. thanks.
Follow up on #172, I've just redo
grml-debootstrap
installation, and now my speaker is not available:Here is my
/etc/debootstrap/packages
I then install packages normally afterward with
apt install
, withingrml-chroot
or within the booted system.I have the
/etc/X11/Xsession.d/20dbus_xdg-runtime
file on my system, and I havedbus-user-session
installed too.Here are more needed info as per #172:
Please help.