title: Bluez fails on Raspberry Pi running Jessie Headless
body: <p>I've run out of tutorials and tricks that worked for others but not for me. </p>
  
  <p>I'm trying to pair a remote bluetooth speaker with my PI Zero. </p>
  
  <p>When I attempt to connect I get the error message:</p>
  
  <pre><code>[bluetooth]# connect XX:XX:XX:XX:XX:XX
  Attempting to connect to XX:XX:XX:XX:XX:XX
  Failed to connect: org.bluez.Error.Failed
  [bluetooth]# 
  </code></pre>
  
  <p>And the log reports:</p>
  
  <blockquote>
    <p>org.bluez.Manager.GetProperties() failed:
    org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with
    signature "" on interface "org.bluez.Manager" doesn't exist</p>
  </blockquote>
  
  <p>I have no idea where to begin addressing that. The logs also report</p>
  
  <blockquote>
    <p>Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported:
    Unable to autolaunch a dbus-daemon without a $DISPLAY for X11</p>
  </blockquote>
  
  <p>and </p>
  
  <blockquote>
    <p>a2dp-sink profile connect failed for XX:XX:XX:XX:XX:XX: Protocol not
    available a2dp-source profile connect failed for XX:XX:XX:XX:XX:XX:
    Protocol not available</p>
  </blockquote>
  
  <p>I'm sure there's useful information in there but every time I think I've googled a solution I'm disappointed. <a href="https://raspberrypi.stackexchange.com/questions/67617/bluetoothctl-fails-to-connect-to-any-device-failed-to-connect-org-bluez-erro?utm_medium=organic&amp;utm_source=google_rich_qa&amp;utm_campaign=google_rich_qa">Moving the load of the discoverable module until after X11 load</a> didn't work. Purging pulseaudio and reinstalling it didn't help. Any ideas?</p>