Version: (using KDE KDE 3.1.94) Installed from: Compiled From Sources OS: Linux When I choose to shut down my computer from the KDE logout menu, the computer is halted, not shut down.
Mine is turned off (I think; initscripts never work).
you need apm or acpi support in your kernel for this to work. additionally, as thiago mentioned, the initscripts must do the right thing (call 'halt -p' or 'poweroff'). as far as kdm is concerned, halt and poweroff are the same thing (runlevel 0).
Sorry, but I *do* have a KDM problem here. Shutting down from console-login works perfectly, as it always did (using "/sbin/poweroff"). Shutting down from inside KDE also worked perfectly in KDE 3.1.x, but since KDE 3.2.x, Shutting down from inside KDE never works. Something must have changed since KDE 3.1.x that changes the shutdown behavior on my box.
that shutdown does not work entirely might be bug #68844, but that doesn't seem to be the case. your descriptions of the observed failure are overly terse, so i don't know what you're actually seeing at all. anyway, i still don't think you're seeing a kde/kdm bug, at most a kdm-induced one. check if ShutdownCmd in kdmrc is correct.
Today, I upgraded another computer (Redhat 9) from KDE 3.1.5 to KDE 3.2.1 and guess what: On selecting "Shut down Computer" from the KDE logout menu, the computer no longer powers down, but it just halts. Exactly the same problem as I already spotted in the KDE 3.2 beta series. I will re-open this bug and attach my kdmrc.
Created attachment 5181 [details] My kdmrc file.
you have no HaltCmd configured - maybe the default is inappropriate for your system. run genkdmconf to get some hints into kdmrc if you don't know where to start. btw, that you are still seeing the problem does not authorize you to dismiss the INVALID resolution. you can if you present new evidence that it _is_ an actual BUG in kdm.
Ah, the magic word... Executing genkdmconf fixed everything on all Redhat boxes that I upgraded to KDE 3.2. Thank you VERY much. btw, I dismissed the INVALID resolution because I thought the fact that the same problem showed up on multiple more or less independent KDE 3.2 configurations was enough 'evidence' to do this.
Shouldn't /sbin/poweroff be the default command to power off a machine? The task of /sbin/halt is actually to stop (halt) the machine, not to power it off. So depending on a particular system, it might power it off or not. So if the desire is to shut the machine down completely, wouldn't poweroff be a better choice? [KDE 3.5.2, tested on gentoo: halt - halts the machine, poweroff - halts and powers down]
Confirmed this is a bug in as much as the behavior is not the same as GDM or previous versions of KDM. As madman says it should be /usr/bin/poweroff NOT /sbin/halt or the computer may not shutdown which is what happens here.
Work around: Edit /usr/share/config/kdm/kdmrc change: HaltCmd=/sbin/halt to: HaltCmd=/usr/bin/poweroff (or where ever your poweroff command is)