[Bug 1048226] Re: default-session code runs before lightdm installation and has no effect

Iain Lane iain at orangesquash.org.uk
Thu Sep 17 11:30:21 UTC 2015


Thank you, uploaded!

** Changed in: ubuntu-defaults-builder (Ubuntu)
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1048226

Title:
  default-session code runs before lightdm installation and has no
  effect

Status in ubuntu-defaults-builder package in Ubuntu:
  Fix Committed
Status in Baltix:
  New

Bug description:
  The default-session.txt settings are applied too early, i.e. in ubuntu-defaults-el-gr.postinst, and they don't have any effect at all because lightdm-set-defaults isn't yet available.
  They should probably be applied when the chroot hook script is run and not from the postinst.

  
  # cat desktop/default-session.txt
  gnome-fallback

  # cat recommends.txt 
  gnome-session-fallback

  # ubuntu-defaults-image --package ubuntu-defaults-el-gr_0.1_all.deb  --components main,restricted,universe --ppa ts.sch.gr/ppa
  ...
  [output line 2877] Setting up ubuntu-defaults-el-gr (0.1) ...
  ...
  [output line 5896] Setting up lightdm (1.2.1-0ubuntu1.1) ...
  ...

  
  # cat chroot/etc/gdm/custom.conf 
  [daemon]
  DefaultSession=gnome-fallback

  # cat chroot/etc/lightdm/lightdm.conf
  [SeatDefaults]
  greeter-session=unity-greeter

  The above file is wrong, it should also contain
  user-session=gnome-fallback

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/1048226/+subscriptions



More information about the Ubuntu-sponsors mailing list