Ubuntu – Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org

13.10geditgtk

When I try to gedit some files, then I received these from the terminal window. There is already one post about this: Gtk-WARNING : Calling Inhibit failed

But it is not solved. How can I solve it ? enter image description here

Best Answer

To solve

IBUS-WARNING **: The owner of /home/myPC/.config/ibus/bus is not root!

use gksudo or gksuinstead of sudo to open the file,

gksudo gedit php.ini

or

gksu gedit php.ini

More on gksudo

The next error

(gedit:12512): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

can be solved by updating gir1.2-gtksource-3.0

sudo apt-get install gir1.2-gtksource-3.0
Related Question