I'm trying to get my bluetooth speaker working with Ubuntu 16.04 Gnome. It connects but doesn't show up in sound output devices list.
I've tried few suggestions
sudo -i pactl load-module module-bluetooth-discover
Output:
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
I had the same issue. In this post is pointed this solution.
Basically, you have to create/edit the file
/var/lib/gdm3/.config/pulse/client.conf
And add the following configuration lines
autospawn = no daemon-binary = /bin/true
And give to GDM the ownership
sudo chown gdm:gdm /var/lib/gdm3/.config/pulse/client.conf
Retart GDM and it is solved