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 -
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 -
You can also use sudo, if available and configured, to launch your command with access to session bug:
ReplyDeletesudo myApplication
thanx it worked
ReplyDeletetanx it worked............
ReplyDelete