[LightDM] user-session not working
Robert Ancell
robert.ancell at gmail.com
Tue Sep 9 20:54:43 PDT 2014
(François replied to me directly with configuration).
The configuration looks correct. Yes, user-session works for picking the
default session. This is confirmed by regression tests and is working on my
Ubuntu system.
The next step is to check the greeter as that is what is ultimately telling
LightDM what session to use:
[+106.83s] DEBUG: Session pid=964: Greeter requests session gnome-classic
LightDM would have told the greeter that the default session is "mate" but
the greeter for some reason has picked "gnome-classic". Probably because
that's the last session that user logged into (stored in AccountsService or
~/.dmrc).
--Robert
On 3 September 2014 08:46, Robert Ancell <robert.ancell at gmail.com> wrote:
> Was that your full configuration you pasted?
>
> Because you seem to have:
> user-session = mate
>
> When it should be:
> [SeatDefaults]
> user-session=mate
>
>
>
> On 2 September 2014 20:00, François Dagorn <
> Francois.Dagorn at univ-rennes1.fr> wrote:
>
>> Hum, after reading greeter.c, I should receive
>>
>> "Greeter requests default session"
>> rather than
>> "Greeter requests session gnome-classic"
>>
>> /* Use session type chosen in remote session */
>> if (greeter->priv->remote_session)
>> {
>> session_type = SESSION_TYPE_REMOTE;
>> session = greeter->priv->remote_session;
>> }
>>
>> So, session seems to be "gnome-classic" and my question is now
>> why greeter->priv->remote_session returns "gnome-classic" in the case
>> of a brand new user (with an empty homedir).
>>
>> Any help would be appreciated.
>>
>> cheers !
>>
>> --
>> François
>>
>> _______________________________________________
>> LightDM mailing list
>> LightDM at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/lightdm
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20140910/49fa0835/attachment.html>
More information about the LightDM
mailing list