[LightDM] Setting default X session

Robert Ancell robert.ancell at gmail.com
Thu Aug 11 08:48:37 PDT 2011

On 20 July 2011 12:52, Сергей <shnatsel at gmail.com> wrote:
> In the version from recent Oneiric dailies I've worked it around with
> setting session=<session name> under [seat-0] in /etc/lightdm/lightdm.conf,
> but there are some distribution and dpkg-related issues that are not really
> lightdm's fault (https://bugs.launchpad.net/bugs/799754), and I'm afraid I
> can't edit /etc/lightdm/lightdm.conf at all until that bug is fixed (or use
> very ugly hacks - GRRRR!). Ubuntu seems to use undocumented features of
> greeter (?!) or something like that, without tweaking lightdm.conf they have
> the session name passed to the wrapper script as a parameter but I have no
> idea where do they set it... Oh well. I'm afraid I can only ask Ubuntu
> engineers about it now.

If you're using a LightDM 0.9.0+ then the correct config is:
user-session=<session name>

In the current Ubuntu package the default is "gnome", but this is a
temporary fix.  Didier Roche (cc'd) is working on the correct solution
so that derivatives can work more easily (the installer (casper) will
write lightdm.conf, it will be written when first installed, etc).

> Getting back to constructive discussion, are lines starting from # commented
> out or they're something else?

Yes, these are comments (it's the standard .ini format)

More information about the LightDM mailing list