title: How to export DBUS_SESSION_BUS_ADDRESS
body: <p>I'm trying to run D-Bus on an embedded system (Yocto Linux) and connect to it from my application code.</p>
  <p>I get the following error when I call <code>dbus_bus_get(DBUS_BUS_SESSION, &amp;err);</code></p>
  <pre><code>Using X11 for dbus-daemon autolaunch was disabled 
  at compile time, set your DBUS_SESSION_BUS_ADDRESS 
  instead
  </code></pre>
  <p>I realize that I need to start the <code>dbus-daemon</code> first so I have run <code>dbus-launch</code> from the command line.</p>
  <p>This prints out a value of <code>DBUS_SESSION_BUS_ADDRESS</code> but how could I export it programmatically?</p>