[LightDM] Setting default X session

Сергей Давыдов shnatsel at gmail.com
Wed Aug 17 07:13:05 PDT 2011


Thanks for your work, Didier, this should work fine! I'll copy-paste this in our packages ASAP.

> The default is now "ubuntu" in the Ubuntu package ;)
> There is a tool in trunk (since the last 3 days) that we backported in 
> Oneiric that I wrote called lightdm-set-defaults (you can find it in 
> /usr/lib/lightdm/), which enables you to set the greeter and the default 
> session you desire.
> 
> Package should in their postinst call this one to set themselves as 
> default (using the --keep-old options) and remove them on 
> install/removal. For instance:
> http://launchpadlibrarian.net/76923334/gnome-session_3.1.3-0ubuntu9_3.1.3-0ubuntu10.diff.gz
> to set the default session to "ubuntu" for the ubuntu desktop case.
> and:
> http://launchpadlibrarian.net/76923333/unity-greeter_0.0.2-0ubuntu1_0.0.2-0ubuntu2.diff.gz
> for the greeter.
> 
> So basically, installing them will set the first installed one (we don't 
> expect having multiple greeters in a CD spin for instance) as the 
> default. Then, casper has now a fix for just adding the autologin part 
> without hammering those things:
> http://launchpadlibrarian.net/77000287/casper_1.277_1.278.diff.gz
> 
> Please note that this is very similar to the patches I made for gdm back 
> in the lucid days (10.04) which seems to have fit the numerous flavors 
> and derivatives we have.
> 
> Cheers,
> Didier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20110817/8559c4a4/attachment.html>


More information about the LightDM mailing list