GNOME Bugzilla – Bug 731234
manager: finish off active displays when closing down
Last modified: 2014-07-09 15:45:54 UTC
(untested patch, will test tomorrow)
Created attachment 277899 [details] [review] manager: finish off active displays when closing down If the daemon is killed while sitting a the log in screen, we never actually unmanage the display, and instead die of an assertion failure in gdm_display_dispose. This commit makes sure the X server is killed off properly.
I just tested this and it seems to work, i.e. the X server now logs a successful termination. But there's still something wrong because I still can't switch VTs with Alt+F? after stopping the gdm service.
Attachment 277899 [details] pushed as ebbf2be - manager: finish off active displays when closing down Okay, let's push this for now, the remaining issue is probably not related to GDM, and we can hopefully figure it out on irc.
For the record this did indeed fix the issue. When I said that it was still not working was because I had booted with the non-patched GDM, meaning that when I stopped that instance, the X server wasn't able to reset the console and it remained in K_OFF mode. This meant that even though I restarted the fixed GDM several times after, the X server was always resetting the console to the mode it found it on initially which was K_OFF... Rebooting with the fixed GDM did completely fix things.