You are not logged in.
Starting from
Hi
i have the same problem
i can't shutdown my arch from kde
but i have this error:kdm[30948]: Failed to execute shutdown command "/sbin/shutdown -r now"what i can do to solve this problem?
let's not hijack the original topic, but ElNinijo, check where your shutdown simlink points, if its systemctl then it's not good, shutdown aka halt -r is ok, but systemctl -r now doesn't, it needs an extra parameter, like "systemctl poweroff" insteam of systemctl -h now.
Which is what i have, but right now i'm with the halt (i saved the halt and the poweroff, reboot simlinks to halt from the old sbin), now it's clear i missed something at some time with an update ... i guess i should have systemctl at those simlinks.
So the question: how do i switch to systemctl instead of halt or can i just leave the old "halt" further on?
Thanks.
Edit: solution found:
https://bugs.archlinux.org/task/32028
Quote:
When switching to a full systemd installation, there is no more shutdown command
/usr/share/config/kdm/kdmrc should be fixed to contain this:
HaltCmd=/usr/bin/systemctl poweroff
RebootCmd=/usr/bin/systemctl rebooti missed this back then.
Last edited by LyCC (2013-06-05 15:46:41)
Offline
Have you read the Arch Linux wiki concerning this? - here's the page https://wiki.archlinux.org/index.php/Sy … management & here's the manual page http://0pointer.de/public/systemd-man/
Our enemies are your enemies, Nick. Disorder, war. It's just a matter of time before a dirty bomb goes off in Moscow, or an EMP fries Chicago. --- Alexander Pierce, Captain America: Winter Soldier
Access Denied! De-cryption failed, override denied all files sealed! --- Triskelion, Shield OS
-----
How to ask questions the smart way
Offline
You've got some unfortunate errors here e.g. 'systemctl -r now' should be 'shutdown -r now', halt != poweroff etc.
You should also include the link to the thread you're referring to https://bbs.archlinux.org/viewtopic.php … 3#p1282843 and maybe post a link there or e-mail ElNinijo, if you want.
Edit: I already posted https://bbs.archlinux.org/viewtopic.php … 9#p1282859 yesterday, so hopefully ElNinijo won't miss it ;P
Last edited by karol (2013-06-05 15:50:21)
Offline
Thanks,
@ElNinijo
Have you tried the systemctl way? Do you have systemd-sysvcompat installed?
i have tried it, but didn't make a difference (of course it's me that i did something wrong, but anyway), so I just modified /usr/share/config/kdm/kdmrc and changed the commands to systemctl, now it's working the proper way. Btw, I have edited my first post in the meantime, i missed that step in the past.
You should also include the link to the thread you're referring to https://bbs.archlinux.org/viewtopic.php … 3#p1282843 and maybe post a link there or e-mail ElNinijo, if you want.
Yes, i allready emailed ElNinijo with the topik link.
Thank you all.
Last edited by LyCC (2013-06-05 15:59:45)
Offline