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

--- Comment #15 from Yaroslav Sidlovsky <zawer...@gmail.com> ---
Szőts Ákos, could you please run this script in the konsole and show paste
output:
```
dbus-send --system --print-reply --dest=org.freedesktop.login1
/org/freedesktop/login1 org.freedesktop.login1.Manager.GetSessionByPID
uint32:$(pgrep konsole)
```

(it should be only 1 konsole running at time of executing this script).

At my PC it shows this:
```
Error org.freedesktop.login1.NoSessionForPID: PID 3536 does not belong to any
known session
```

So systemd doesn't treat Konsole as part of any user session.
Similar check exists in code of powerdevil and it fails every time on Fedora &
openSUSE:
https://invent.kde.org/plasma/powerdevil/-/blob/aba840037bb732661ea749d13aa401317a795d00/daemon/powerdevilpolicyagent.cpp#L239.

The behaviour described above can be simply reproduced on Fedora 34 KDE Live,
just start it in the VM and execute dbus-send command.
Link to the iso:
https://download.fedoraproject.org/pub/fedora/linux/releases/34/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-34-1.2.iso.

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

Reply via email to