Chris Halse Rogers had a look into this and he came to the conclusion that adding a VT_WAITACTIVE after the VT_ACTIVATE ioctl may help the situation. It looks like there is a race condition somewhere between LightDM, the kernel, ConsoleKit and X and adding the VT_WAITACTIVE either solves this (or hides it). Sebastian Bacher tried this patch and it seemed to improve the situation for him, I've been running with that patch today and it seems good too. So I've made that change to master.
** Changed in: lightdm Status: Triaged => Fix Committed ** Changed in: lightdm (Ubuntu) Status: Triaged => Fix Committed ** Changed in: lightdm Assignee: (unassigned) => Robert Ancell (robert-ancell) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/851612 Title: Logging out from a FUS session does not reliably return to VT7 To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/851612/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp