Closed raveit65 closed 1 year ago
@raveit65 What should I do to Log in to MATE Shell
and Log out
I could never reproduced the original issue in bug report, (impossible to unlock the session after the session was locked). But the problem is that after log out the session is still active.
[rave@mother ~]$ loginctl list-sessions
SESSION UID USER SEAT TTY
2 1000 rave seat0
5 1000 rave seat0
6 1000 rave pts/7
8 1000 rave seat0
4 sessions listed.
[rave@mother ~]$
After every new login from login-manager (lightdm) a new session will create but the old one is still there. But sadly this patch does fix nothing here with my fedora box. Maybe it's different with debian or archLinux. Any way i will close this PR.
@raveit65 What should I do to
Log in to MATE Shell
andLog out
I think login from Login-manager is meant.
Same as https://github.com/mate-desktop/mate-session-manager/pull/282 But with corrected author name from gnome.
Things like XDG_SESSION_ID should not be uploaded to the environment. For example this is broken currently:
You can't, and this is because the XDG_SESSION_ID from the first session (step 2) has leaked through to the second one (step 4), and so MATE Shell is listening to the
logind
UnlockSession
signal for the wrong session. The SSH session established in step 1 serves to keep thesystemd --user
instance alive, so that the state is not torn down between logins.Patch from GNOME by Iain Lane iainl@gnome.org