Fork me on GitHub

Failed to open connection to session bus means dbus isn't installed.

apt-get install dbus dbus-x11

Then

dbus-launch --autolaunch `cat /var/lib/dbus/machine-id`

Then to test dbus use

dbus-monitor

To monitor the bus and:

dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames

To see stuff whizzing by.

dbus is required by ibus for CJK input. Otherwise dbus is to AVOIDED please. Thanks,