Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2026 13:44:59 +0300
From:      Gleb Popov <arrowd@freebsd.org>
To:        Kurt Jaeger <pi@freebsd.org>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>,  "freebsd-hackers@FreeBSD.org" <freebsd-hackers@freebsd.org>,  "freebsd-stable@FreeBSD.org" <freebsd-stable@freebsd.org>
Subject:   Re: Tragic State of FreeBSD Audio/Sound
Message-ID:  <CALH631km3SXG4Sb1dLALa60NfVtzFWdPhyEQ8rOZVmxdg_N=3A@mail.gmail.com>
In-Reply-To: <al9KZF4U7BhZvvWZ@fc.opsec.eu>
References:  <hkttyyfmuguexmliuhmg@ewtn> <sirudbjwrqwlhpzjpfqf@abqv> <CAK7dMtCRpXO71v=AEsrtuQufVJHjN%2B%2BhsN6CT_MkXhMa1-JOzw@mail.gmail.com> <CALH631mZWS9e9FDXPUT8N8W8WnNnpfYaoPuRyqXhqNTW9=atLw@mail.gmail.com> <al9KZF4U7BhZvvWZ@fc.opsec.eu>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631km3SXG4Sb1dLALa60NfVtzFWdPhyEQ8rOZVmxdg_N=3A>