See m[blue]www.freedesktop.org/software/dbusm for more information about D-Bus. See also the man page for dbus-daemon.
To start a D-Bus session within a text-mode session, do not use dbus-launch. Instead, see dbus-run-session(1).
Write to stdout a nul-terminated bus address, then the bus PID as a binary integer of size sizeof(pid_t), then the bus X window ID as a binary integer of size sizeof(long). Integers are in the machine's byte order, not network byte order or any other canonical byte order.