Comment 12 for bug 818201

Revision history for this message
Yves-Alexis Perez (corsac) wrote :

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).