Hi, I am working on a project which relies on monitoring logind user sessions and their properties.
I noticed some strange behaviour when using xrdp to create sessions. Namely, when a user logs out of an xrdp session, the session itself is not removed but moves to a "closing" state. I will raise this with xrdp team. My question here is, why was this State property change not reported by DBUS? My understanding of the documentation is that the State field should report property charges as it's not marked as "const"? https://www.freedesktop.org/software/systemd/man/latest/org.freedesktop.login1.html#Session%20Objects I have created 2 Python scripts to reproduce the behaviour. One creates a session and then changes it's State to "closing". The second mirrors the mechanism my project uses to monitor user sessions: https://github.com/dom-wiecek/dbus_session_state_change I understand this also might be user error on my side and my monitoring logic might be missing something crucial which is preventing the signal for this specific property to be triggered. Any feedback on how to implement this, if it is supported, would be greatly appreciated. Kind Regards, Dominik Więcek
