saved user session not loaded when greeter-hide-users=true
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Triaged
|
High
|
Unassigned | ||
LightDM GTK Greeter |
New
|
Unknown
|
|||
lightdm (Debian) |
Confirmed
|
Unknown
|
Bug Description
Hey,
this might be related to #818201 but not completely sure.
Right now, when lightdm starts, the default seat user session is loaded.
Then, if greeter-
When greeter-
That means that, in the latter case, the saved user session is never loaded.
I can see two solutions to this:
* load the user settings as soon as the user entered its username: that's not really good since that defeats (one of) the purpose of having greeter-
* load the default seat setting in a “default_session” field in the DisplayPrivate structure. If someone selects a session in the drop down menu, load it in the session field. Then, just before starting the session:
* if session is set, save it
* if session is not set, load the user setting
* if session is not set and no user setting, use default_session
What do you think?
Changed in lightdm: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in debian: | |
status: | Unknown → Confirmed |
affects: | debian → lightdm (Debian) |
Changed in lightdm-gtk-greeter: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in lightdm-gtk-greeter: | |
status: | Unknown → New |
Certainly a tricky problem.
I think the GUI has to be honest, and just add an option "Previous Session" to the session list when running in hidden user list mode. So if that is selected then the greeter doesn't send a session request to the daemon, and the normal .dmrc loading occurs. If the user expliclity selects a session then switch to that one.
How do other greeters handle this?