Merge lp:~mterry/ubuntu-touch-session/lightdm-switch into lp:ubuntu-touch-session
Status: | Merged |
---|---|
Merged at revision: | 115 |
Proposed branch: | lp:~mterry/ubuntu-touch-session/lightdm-switch |
Merge into: | lp:ubuntu-touch-session |
Diff against target: |
194 lines (+70/-60) 10 files modified
52-ubuntu-touch.conf (+5/-0) debian/control (+1/-0) debian/ubuntu-touch-session.install (+4/-2) debian/ubuntu-touch-session.maintscript (+2/-0) lightdm.override (+9/-0) ubuntu-touch-session (+34/-45) ubuntu-touch-session-setup.conf (+0/-12) ubuntu-touch-surfaceflinger.desktop (+7/-0) ubuntu-touch.desktop (+7/-0) upstart-session/unity8.conf (+1/-1) |
To merge this branch: | bzr merge lp:~mterry/ubuntu-touch-session/lightdm-switch |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sergio Schvezov | Needs Fixing | ||
Review via email: mp+184659@code.launchpad.net |
Commit message
Boots into unity8 using LightDM rather than custom upstart scripts.
Description of the change
Boots into unity8 using LightDM rather than custom upstart scripts.
This branch drops the custom, phablet-
With this branch, we are brought yet closer to the same infrastructure the Desktop images use. Notably, logind will now recognize the user session as active, fixing some issues with policykit in the Touch images to date.
Performance wise in my informal testing, this seems to slow us down by a couple seconds. Not great, but didn't strike me as a deal breaker considering the benefits it brings.
Note that LightDM in Touch is *not* ready for an actual LightDM greeter. It can only work if a user is configured to be autologged in. I've added some configuration to livecd-rootfs to configure the 'phablet' user for autologin. This is in saucy now (livecd-rootfs 2.185). I figured it made sense to try to move any phablet-user hardcoding out of this package, letting it become a general purpose session suitable for any user to run.
However, this means the upgrade path is awkward, since only new images will have autologin configured. Anyone using the recommended system image upgrade path will get the fix, as well as anyone that reflashes.
To test with surfaceflinger, edit /etc/lightdm/
[SeatDefaults]
type=surfaceflinger
user-session=
Awesome. Excited about finally starting to switch over to lightdm based login. One comment. Could we switch the "GU parts" of the "ubuntu- touch-session" script to be a separate upstart session job? I'm thinking something that is "start on starting dbus" -- that way we'd get the same variables for apps that are being tested on the desktop or other platforms as they could have that same upstart job run.
Thanks for doing this!