GNOME Bugzilla – Bug 734140
Gnome apps spam stderr with warnings if Gnome Session Manager not found. No way to turn off warnings.
Last modified: 2014-11-03 05:49:37 UTC
I'm running various Gnome applications from an xterm in a desktop environment that intentionally doesn't launch any Gnome daemons. Some applications spam stderr with messages like this: (gedit:5700): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files Some applications spam these warnings so often (e.g. gedit does this every time you press enter) that the terminal is rendered unusable. I have failed to found a way to turn off these warnings. As a temporary workaround it is possible to redirect stderr to /dev/null, but this is not a good workaround as it has to be applied to every application individually every time the application starts. Also, these warnings are useless and annoying to me as I know that there is no Session Manager. Also, the functionality of the Gnome applications I use is not hindered by the fact that no Gnome Session Manager exists. Please: 1. If a way to turn off these warnings (e.g. via configuration or environment) exists, please tell me how. 2. If no such way exists, please implement such a way. 3. Also change the code that displays these warnings so it only displays every kind of warning only once during the lifetime of a Gnome program — the Gnome Session Manager is not going to magically appear after a warning was issued.