I have the same bug for many releases already, I just could never find the rightful solution till few days ago. I am running 17.04 and the problem is still there... Maybe it will be gone once I update to 17.10, I will report back. It is frustrating and occurs a lot to me as I never reboot my machine, and often connect and disconnect my headset. At least now I don't need to reboot if I want to use my headset.
** Tags added: zesty -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/832401 Title: pactl command fails with connection refused Status in pulseaudio package in Ubuntu: Expired Bug description: When running the pactl command to set the audio, I get Connection failure: Connection refused pa_context_connect() failed: Connection refused To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/832401/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp