1 April 2011

Fix kind of "GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed" issue

When launching some applications (e.g.: emacs, gedit ...) as root user, you may have error message like:
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed
It means root user doesn't have access to the session bus.
To solve that, simply ensure having a login shell for your root user:
su -


3 comments:

  1. You can also use sudo, if available and configured, to launch your command with access to session bug:
    sudo myApplication

    ReplyDelete
  2. tanx it worked............

    ReplyDelete

Thank you for your visit, let's share your point of view: