Skip to content
Commit 2d56fc5b authored by Yaroslav Sidlovsky's avatar Yaroslav Sidlovsky 💬 Committed by Nate Graham
Browse files

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.

BUG: 433408


(cherry picked from commit d7c1181a)
parent c8f5eaac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment