On Mon, Sep 17, 2007 at 09:50:53AM -0400, Adam Jackson wrote:
My mental model of this is that the X session just stays up until the computer actually halts, since it's not like the X server maintains any state that needs to get flushed to disk. You might terminate all the other clients besides the session leader, and then throw up some animation so the user knows things are happening.
You probably want to kill X off just before the final power down. A few boxes get a bit confuddled if the BIOS video mode isn't reset (I've got one here which objects if you do a hard reboot from inside an X window) - its fine after a real reset or if you got text mode first
But that's just a guess. It would take some design first to make sure we think through the interactions. At this stage of F8 it might be too late to fold this in before release, but that doesn't mean we shouldn't work on it.
Hard bit seems to me being sure the old X server is dead dead dead before the new one begins. Other problem is that X takes longer to start on some boxes than poweroff to finish....