gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied (9)

Versions

  • OS: Linux
  • GTK+ Version: 3.24.13
  • PyGObject Version: 3.34.0
  • python-nbxmpp Version: 0.6.10
  • Gajim Version: 1.1.3

Traceback

Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/gajim/common/dbus/logind.py", line 126, in _on_appear_logind
    self._inhibit_sleep(connection)
  File "/usr/lib64/python3.6/site-packages/gajim/common/dbus/logind.py", line 101, in _inhibit_sleep
    Gio.DBusCallFlags.NONE, -1, None, None)
gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied (9)

Steps to reproduce the problem

Run gajim. ...