[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-xfce-devel] Bug#767359: Bug#767359: Bug#767359: lightdm: Selected session not remembered anymore



On 31/10/2014 15:46, Yves-Alexis Perez wrote:
> First, it seems that between 1.10.2-2 and 1.10.2-3 the ?last
> started session? state of  lightdm-gtk-greeter (found in
> /var/lib/lightdm/.cache/lightdm-gtk-greeter/state) is not saved.

On one PC (the one with 1.10.2-3), if i login with session xfce, here is
the content of the state file:
------------------
[greeter]
last-user=cesare
last-session=xfce
------------------

After logging out the content get this:
------------------
[greeter]
last-user=*other
last-session=xfce
------------------

After "systemctl restart lightdm":
------------------
[greeter]
last-user=*other
------------------

On the other PC (the one with the latest 1.10.3-2), if i login with
session mate, here is the content of the state file:
------------------
[greeter]
last-user=berni\leonardic
last-session=mate
------------------
The user name format is because the he is part of a samba domain.

After logging out the content get this:
------------------
[greeter]
last-user=*other
last-session=mate
------------------

After "systemctl restart lightdm":
------------------
greeter]
last-user=*other
------------------

> In -3, it seems that the file content (or maybe the file itself)
> is lost, which means the settings are not correctly loaded.

Yes, the last-session row somehow get deleted: on lightdm shutdown or
on startup.

> The second issue is that the per-user ?last session? (saved in
> .dmrc) is not loaded at all. When you enter your username (or
> select it from the menu), the user language is loaded (you can see
> it change on the top right if it's different from the default
> language). At that point, the last user session should be saved
> too, but it's not, for some reason.

On both PC, .dmrc look always correct and updated every time.
Just discarded.

In case of request or follow-up, i'll reply you on monday, when i'll
come back to work.

Best regards.

Cesare.




Reply to: