I don't know of the correct upstart incantations to upstart to make it keep lightdm alive but it should be one of the very last things to shutdown. We should probably notify lightdm that shutdown has started so it closes any sessions but I'm not sure what the best method of doing that is. A signal like SIGUSR1 is probably the traditional method (yuck!)
** Changed in: unity-system-compositor (Ubuntu) Assignee: Robert Ancell (robert-ancell) => (unassigned) ** Also affects: lightdm (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/1350348 Title: Spinner not shown on shutdown Status in “lightdm” package in Ubuntu: New Status in “unity-system-compositor” package in Ubuntu: New Bug description: When you long-press power and choose shutdown, the screen goes black and you never know when it actually did shut down. We need to make sure unity-system-compositor isn't shut down too early. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: unity-system-compositor (not installed) ProcVersionSignature: Ubuntu 3.16.0-5.10-generic 3.16.0-rc6 Uname: Linux 3.16.0-5-generic x86_64 NonfreeKernelModules: wl nvidia ApportVersion: 2.14.5-0ubuntu1 Architecture: amd64 CurrentDesktop: Unity Date: Wed Jul 30 14:06:29 2014 SourcePackage: unity-system-compositor UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1350348/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp