https://bugs.kde.org/show_bug.cgi?id=433408

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/powerdevil/commit/d7c118 |ma/powerdevil/commit/2d56fc
                   |1a5736bc5c6b2585fb0df906551 |5b4ae61021a7522196a00a4b669
                   |0efcd7c                     |7bac80a

--- Comment #21 from Nate Graham <n...@kde.org> ---
Git commit 2d56fc5b4ae61021a7522196a00a4b6697bac80a by Nate Graham, on behalf
of Yaroslav Sidlovsky.
Committed on 07/05/2021 at 14:46.
Pushed by ngraham into branch 'Plasma/5.21'.

GetSessionByPID DBUS call always fails on newer systemd versions

GetSessionByPID returns this error:
```
Error org.freedesktop.login1.NoSessionForPID: PID 2469 does not belong to any
known session
```
So instead we will get session by calling GetSession("auto").
Tested on Fedora, should also work on openSUSE & KDE Neon.


(cherry picked from commit d7c1181a5736bc5c6b2585fb0df9065510efcd7c)

M  +1    -1    daemon/powerdevilpolicyagent.cpp

https://invent.kde.org/plasma/powerdevil/commit/2d56fc5b4ae61021a7522196a00a4b6697bac80a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to