desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #06470
[Bug 818201] Re: Login doesn't remember the last desktop session
See the thread on lightdm list for remarks about accountservice (and no,
hosting it at freedesktop.org doesn't mean it's cross-desktop, right now
the only way to tune stuff there is gnome-control-center).
I guess you meant “Note” instead of “Not” in the last sentence.
Right now this fallback is broken. Afaict it's because (I think) the
current implementation in lightdm loads .dmrc (dmrc_load()) in
start_user_session(), but it's too late. The current session as already
been chosen (display->priv->user_session) and the key file loaded from
dmrc_load isn't used at all:
/* Load the users login settings (~/.dmrc) */
dmrc_file = dmrc_load (user_get_name (user));
/* Update the .dmrc with changed settings */
g_key_file_set_string (dmrc_file, "Desktop", "Session", display->priv->user_session);
dmrc_save (dmrc_file, user_get_name (user));
g_key_file_free (dmrc_file);
// FIXME: Copy old error file
log_filename = g_build_filename (user_get_home_directory (user), ".xsession-errors", NULL);
display->priv->session = create_session (display, authentication,
display->priv->user_session, FALSE, log_filename);
I'm not completely sure the issues lies there or in the gtk-greeter
(without user-list).
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/818201
Title:
Login doesn't remember the last desktop session
Status in Light Display Manager:
New
Status in “lightdm” package in Ubuntu:
Fix Released
Bug description:
I log into Oneiric and choose the Ubuntu 2D desktop. Then I reboot
and go to log in again, but lightdm doesn't remember that I chose
Ubuntu 2D last time, so by default it will log me in with the default
Ubuntu desktop.
To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/818201/+subscriptions