extracted variable setup from connect_dbus() to enable_dbus()