Remedying the glib go error in ubuntu

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)


use the following script. It exports the dbus session and then runs the apps. Simply use: <command> or if you have already used a long command and failed: use the trick “ !!” (!! replicates the last command).

Download the script from:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s