You are not logged in.

#1 2013-07-18 09:47:12

ayham
Member
Registered: 2013-07-16
Posts: 16

Gtk-WARNING org.gnome.SessionManager not provided by any ,service file

hello,
I get this warning when I run gedit :

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

gedit works fine but I am just afraid that this might cause other bigger problems .
thanks

Offline

#2 2013-08-05 12:30:16

bethrasher
Member
Registered: 2013-08-05
Posts: 6

Re: Gtk-WARNING org.gnome.SessionManager not provided by any ,service file

having exactly same problem

Offline

#3 2013-09-27 16:37:25

roxas
Member
Registered: 2012-07-06
Posts: 20

Re: Gtk-WARNING org.gnome.SessionManager not provided by any ,service file

same here...

Offline

#4 2013-09-27 16:53:29

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Gtk-WARNING org.gnome.SessionManager not provided by any ,service file

[offtopic]great replies so far[/offopic]

If you're running a gnome-session and you get that warning, then something might be wrong, but if you're running gedit without gnome it's kinda obvious why there is no session manager.

It says it's trying to call the Inhibit method. That's probably to buy some time from the session manager at the end of the session in case there are any unsaved documents (and maybe other user data such as preferences). So if you close gedit yourself (or at least save your changes) before logging out/shutting down, you should be fine. (gedit will probably try to save changes when it gets SIGTERM anyway, but if SIGKILL follows very quickly, that can fail.)

Last edited by Raynman (2014-02-15 09:21:00)

Offline

#5 2014-02-15 03:01:49

temp92831
Member
Registered: 2014-02-15
Posts: 1

Re: Gtk-WARNING org.gnome.SessionManager not provided by any ,service file

I love gedit but I'm not a fan of gnome 3 so I switched to KDE. I guess I have two options: 1. pipe all gtk based app output to /dev/null (really tedious and what if other errors appear that are important) or 2. find a way to make gedit and others behave without their favorite session manager.

Is there a config somewhere I can tell gtk to print warnings to a log instead of spraying my terminal in crap?

Offline

Board footer

Powered by FluxBB