Stream setup failed for Bluetooth headphones

Problem

I have a Bluetooth adapter and a Bluetooth headset which worked fine on an Ubuntu system. I now plug them into another XUbuntu system. It uses Blueman, a GTK-based GUI tool for managing Bluetooth devices. I can discover the headset and connect to it. However, it does not appear as an Output Device in Sound Settings. So, I cannot use it as Audio Sink for any playback.

On diagnosing the problem in Blueman, it gives this error for this headset: Connection Failed: Stream setup failed

Solution

It turned out that this computer first had Ubuntu and XUbuntu was installed on top of it. Ubuntu uses a GNOME Bluetooth manager and XUbuntu uses Blueman.

To solve this problem, I uninstalled Blueman:

$ sudo apt-get purge blueman

After restarting, I used only the GNOME Bluetooth manager and was able to connect the headset. It appeared as Output Device in Sound Settings and I was able to use it to listen to audio.

Tried with: Creative WP-300 headphones, ioGear Bluetooth adapter GBU521 and Ubuntu 14.04

Advertisements

How to use Xubuntu in Ubuntu

XFCE is a great desktop environment that is fully supported and available with Ubuntu. Compared to Unity, it is lighter, its desktop and window UI layout is more traditional and is far most customizable.

If you are finding Unity to be slow and want to try something lighter, try Xubuntu! This is XFCE plus customizations to make it familiar to Unity users and a whole bunch of light applications that typically accompany XFCE.

  • Xubuntu can be installed easily:
$ sudo apt install xubuntu-desktop

Though it does not ask for it, make sure to restart after this finishes. This way you get a correctly initialized Xubuntu login manager.

  • After restart, you will be greeted by a Xubuntu login manager. Remember to pick Xubuntu session from the top dropdown before you login.

  • After logging into Xubuntu, you will notice the customizations it has over XFCE. For example, your startup applications and notification applications from Unity are carried over to Xubuntu.

  • In the login manager, there is a XFCE session too. This is raw XFCE without customizations from the Ubuntu team. If you login to this and login back to Xubuntu, you might find that the icon, window or color settings from XFCE session will persist in your Xubuntu session. Just a warning!

Tried with: XFCE 4.10 and Ubuntu 14.04