User Tools

Site Tools


linux:apps:pulseaudio

Pulseaudio

Pulse audio started multiple times

In journalctl shows some warnings that are the result of the fact that pulseaudio is started multiple at boot and user login. After analyzing I have identified the following locations which start pulseaudio:

Systemd user service

$ systemctl --user is-enabled pulseaudio.socket
enabled
$ systemctl --user is-enabled pulseaudio.service
enabled

XDG autostart

 ls /etc/xdg/autostart/*pulse*
 cat /etc/xdg/autostart/pulseaudio.desktop
 

XFCE session startup

 cat ~/.config/autostart/*pulse*
 

~/.config/autostart/pulseaudio.desktop. This file is created and set (hidden=true/false) by (un)checking XFCE → Session and Startup → PulseAudio at startup

D-Bus Activation Mechanism

D-Bus service file: There's a D-Bus service file that tells D-Bus how to start PulseAudio when something requests it:

/usr/share/dbus-1/services/pulseaudio.service
/usr/share/dbus-1/services/
/usr/share/dbus-1/system-services/
[D-Bus Service]
 Name=org.pulseaudio.Server
 Exec=/usr/bin/pulseaudio --start --log-target=syslog

Automatic activation: When an application tries to connect to PulseAudio via D-Bus (requesting the org.pulseaudio.Server service), D-Bus automatically launches PulseAudio if it's not already running.

linux/apps/pulseaudio.txt · Last modified: by oscar