[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Any hope of KDE 3.5 in F10? I want it too !



On Sat, 2008-06-21 at 13:50 -0300, Marcelo Magno T. Sales wrote:
> Em Sábado 21 Junho 2008, Patrick O'Callaghan escreveu:
> > On Sat, 2008-06-21 at 16:15 +0100, Timothy Murphy wrote:
> > > Isn't ctrl-alt-backspace meant to kill X, rather than shutdown?
> > > (I could be wrong as I never use it.)
> >
> > Ctrl-Alt-Backspace kills the X server. It's not clear to me whether
> > there is any practical difference between doing that and hitting a
> > "log out" button. Presumably the latter could give the various apps
> > time to clean up, but I'm not sure if it actually does this.
> 
> Logging out closes only the desktop environment you were using and the 
> applications that were running in it. CTRL+ALT+BS kills X and the 
> graphical login manager too, so it re-reads the xorg.conf file (if you 
> have altered it, this is needed), reload video drivers (if you have 
> updated it, this is needed) and reload the xdm/gdm/kdm configuration, 
> among other things that are not done if you simply log out.

AFAIK the display manager (kdm, gdm, whatever) does *not* die, neither
when you log out nor when you kill X. This is easy to verify: just check
the PID of kdm or gdm, log out, switch to a virtual console and check
the PID again. You'll find that it hasn't changed (I've done this with
kdm, I'm assuming gdm is the same). That's because it's the parent
process of the X server. This matters because if something like kdelibs
changes due to an update I want to be sure of not leaving old versions
lying around. The easiest way to to do this is "init 3; init 5" from a
virtual console.

Also, logging out now also tells the display manager to restart the X
server (it didn't used to).

Which is why I was wondering if there was in practice a difference
between the "log out" button and Ctrl-Alt-Backspace.

poc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]