Re: Tragic State of FreeBSD Audio/Sound
- In reply to: Kurt Jaeger : "Re: Tragic State of FreeBSD Audio/Sound"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jul 2026 10:44:59 UTC
On Tue, Jul 21, 2026 at 1:30 PM Kurt Jaeger <pi@freebsd.org> wrote: > > Hi! > > > > Disable the stock PulseAudio autostart. > > > > Why, what's wrong with it? > > In my case I have no idea what service is starting it. > > Any hints ? IIRC, it gets started whenever something calls libpulse.so APIs. > > > if [ -z "$XDG_RUNTIME_DIR" ]; then > > > export XDG_RUNTIME_DIR="/var/run/user/$(id -u)" > > > mkdir -p "$XDG_RUNTIME_DIR" > > > chmod 700 "$XDG_RUNTIME_DIR" > > > fi > > > > This is done by pam_xdg, you shouldn't do that yourself. > > I use startx to start my beloved, old-timer, vtwm session 8-} > > Where does XDG come into play ? When you log in as your user: # grep -r pam_xdg /etc/pam.d/ /etc/pam.d/system:session required pam_xdg.so