<div dir="ltr">I wasn't able to make it work as a system wide service, I was unable to connect to bluetooth from the systemd service running under root.<div><br></div><div>I reinstalled pulseaudio and put everything under my user; I also set lingering for my user. Now it is working fine, the only problem I'm having is that after I end my ssh session, the bluetooth gets disconnected. Do you know how could I solve this?</div><div><br></div><div>Also after a reboot, I have to explicitly connect to the speaker, it does not reconnect automatically on boot. It is a if lingering is not working.</div><div><br></div><div>Kind regards</div><div><br></div><div>Federico</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 10, 2021 at 7:07 PM Becker Béla <bela@becker.rocks> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2021. október 9., saturday 0:45:51 CEST Federico Milano wrote:<br>
> 3. If I run PA as a system wide service, then I cannot connect to<br>
> bluetooth: PA server rejects the client connection. The pulse user is in<br>
> the bluetooth, audio and pulse-access groups; I have also added the root<br>
> user there too and also my personal user, but I still cannot connect to the<br>
> bluetooth device.<br>
<br>
You need to add permissions for the pulse user to access the Bluetooth systems via dbus<br>
Stackexchange with explanation here:<br>
<a href="https://raspberrypi.stackexchange.com/questions/42265/pulseaudio-a2dp-bluetooth-dont-work-in-system-mode-but-work-work-fine-under" rel="noreferrer" target="_blank">https://raspberrypi.stackexchange.com/questions/42265/pulseaudio-a2dp-bluetooth-dont-work-in-system-mode-but-work-work-fine-under</a><br>
<br>
<br>
</blockquote></div>