Fwd: Graphical Shutdown

Jon Nettleton jon.nettleton at gmail.com
Tue Sep 18 12:59:50 UTC 2007

On 9/18/07, Alan Cox <alan at redhat.com> wrote:
> 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....
I think the best way to do this would be to execute the shutdown gui
in the PostLogin session of the first spawn X server.  This allows us
to avoid spawning another Xserver just to shut down.


More information about the fedora-devel-list mailing list