| Summary: | Plasma Login Manager does not recall the last session saved to its profile | ||
|---|---|---|---|
| Product: | [Plasma] plasma-login-manager | Reporter: | Christopher Snowhill <kode54> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde, kdedev, olib141, site.kde |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-login-manager/-/commit/58cabe530be44d0449a2bf4d806713c4e96f082e | Version Fixed/Implemented In: | 6.5.90 |
| Sentry Crash Report: | |||
|
Description
Christopher Snowhill
2025-10-24 07:10:17 UTC
From discussion with the user, after inserting:
console.log("!!!!", PlasmaLogin.StateConfig.lastLoggedInUser, PlasmaLogin.StateConfig.lastLoggedInSession);
following https://invent.kde.org/plasma/plasma-login-manager/-/blob/master/src/frontend/greeter/qml/Main.qml?ref_type=heads#L404
output is:
!!!! chris /usr/share/wayland-sessions>
!!!!
This means that for some reason, the greeter sent a second login request following the first, which was successful. This request has an empty username and session. The backend appears to have told us this login was successful, so we save that username and session to the state config.
We should determine why the frontend is sending a second login request (I will attempt to reproduce this behaviour) and also why the backend tells us it was a success (when it cannot possibly be! — user and session are empty).
I have realized it! It is closing and saving each screen separately, and I have not entered any username or password or configured any session on the second screen. Yes, it opens a separate greeter view on each of my two screens, and they both have independent login/password form and independent session selectors. *** Bug 507409 has been marked as a duplicate of this bug. *** This should be resolved with https://invent.kde.org/plasma/plasma-login-manager/-/commit/58cabe530be44d0449a2bf4d806713c4e96f082e. |