If you encounter the glib gio error while firing an app from the commandline/shell, such as this one:
GLib-GIO:ERROR:/build/buildd/glib2.0-2.28.6/./gio/gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted
use the following script. It exports the dbus session and then runs the apps. Simply use: ed.sh <command> or if you have already used a long command and failed: use the trick “ed.sh !!” (!! replicates the last command).
Download the script from: https://gist.github.com/a664a61a49296da16e47