You are not logged in.
Pages: 1
Hey,
if I try to shutdown my laptop it reboots instead of shutting down.
This behavior occurs when using shutdown menu from KDE, but also when using
shutdown -hP now
in terminal. Currently I've got no idea how to fix this problem.
It's very annoying, so I will appreciate any hint!
dmesg output: Here
lspci output: Here
lscpu output: Here
Thanks for your contribution!
Offline
Try systemctl shutdown.
----- Think out of the Box. ------
Archer since 2010.
My projects: http://github.com/kinokoio
Offline
Offline
KDE menu uses upower, as far as I know. So, the problem has to be with upower, not with the kernel. Perhaps a misclick or a misconfiguration, rather than a bug. If using upower you have that problem, the mystery is solved.
----- Think out of the Box. ------
Archer since 2010.
My projects: http://github.com/kinokoio
Offline
After making some changes in /usr/shar/config/kdm/kdmrc:
Before:
[Shutdown]
BootManager=Grub2
HaltCmd=/sbin/shutdown -h -P now
RebootCmd=/sbin/shutdown -r now
After:
[Shutdown]
BootManager=Grub2
HaltCmd=/sbin/poweroff
RebootCmd=/sbin/reboot
Now everything seems to work.
Offline
Hey, but how old is your system ?
My /usr/share/config/kdm/kdmrc:
cat /usr/share/config/kdm/kdmrc | grep shutdown
# Default is "/sbin/shutdown -h -P now"
HaltCmd=/usr/bin/shutdown -h -P now
# Default is "/sbin/shutdown -r now"
RebootCmd=/usr/bin/shutdown -r now
However /usr/bin/shutdown is a symlink to systemctl.
Don't you have some /usr/share/config/kdm/kdmrc.pacnew laying around ?
do it good first, it will be faster than do it twice the saint
Offline
Hey, but how old is your system ?
Not old. Installation was on October or November 2014.
My /usr/share/config/kdm/kdmrc:
cat /usr/share/config/kdm/kdmrc | grep shutdown # Default is "/sbin/shutdown -h -P now" HaltCmd=/usr/bin/shutdown -h -P now # Default is "/sbin/shutdown -r now" RebootCmd=/usr/bin/shutdown -r now
My kdrmc: Here
However /usr/bin/shutdown is a symlink to systemctl.
Yeah, I know. But this seems to be the reasons why it's working.
Shutting down with
shutdown -h -P now
does not work. My laptop is down for about two seconds and then reboots.
But it works with
systemctl poweroff
Don't you have some /usr/share/config/kdm/kdmrc.pacnew laying around?
Yeah, I've got one: Here.
I also replaced my current kdmrc config with the kdmrc.pacnew,
but after making some changes in systemsettings of KDE it looks like the linked config above.
Offline
Shutting down with
shutdown -h -P now
does not work. My laptop is down for about two seconds and then reboots.
But it works withsystemctl poweroff
So, a bit of hacking, my friend
You may need to replace the command line in the kdmrc.
I also replaced my current kdmrc config with the kdmrc.pacnew,
For lesser risks I'm used to compare the files before do a change and see if it's worth the substitution.
do it good first, it will be faster than do it twice the saint
Offline
OK. The problem is not fixed.
I am able to shutdown with
systemctl poweroff
and also with
shutdown -h -P now
but only in battery mode. When my laptop is connected to my docking station both commands don't work…
Any hints how to solve this? Thanks!
Offline
Pages: 1