You are not logged in.
Hello,
Recently, following I switched to a pure systemd setup. The process was simple and most things worked "right out of the bpx". However, I can not shutdown or restart from KDE!
Let's say that I do the 3 finger salute (ALT-CTRL-DEL) and select "Turn off computer" what I get is KDE shutting down, but then I will only get a console (TTY) login prompt. Pressing ALT-CTRL-DEL then will trigger a reboot. I can also login and use "systemctl poweroff". However, I don't understand why it doesn't work straight from KDE.
Are there some packages I must install? Are there some systemd services that I must enable? What other relevant info should I include in this post?
Active units :
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
proc-sys...misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point
sys-devi...d-card0.device loaded active plugged MCP79 High Definition Audio
sys-devi...da-sda1.device loaded active plugged ST9500420ASG
sys-devi...da-sda2.device loaded active plugged ST9500420ASG
sys-devi...da-sda3.device loaded active plugged ST9500420ASG
sys-devi...da-sda4.device loaded active plugged ST9500420ASG
sys-devi...da-sda5.device loaded active plugged ST9500420ASG
sys-devi...da-sda6.device loaded active plugged ST9500420ASG
sys-devi...ock-sda.device loaded active plugged ST9500420ASG
sys-devi...et-eth0.device loaded active plugged RTL8111/8168B PCI Express Gigabit Ethernet controller
sys-devi...t-wlan0.device loaded active plugged AR928X Wireless Network Adapter (PCI-Express)
sys-devi...y-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devi...y-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devi...y-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devi...y-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-module-fuse.device loaded active plugged /sys/module/fuse
-.mount loaded active mounted /
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home.mount loaded active mounted /home
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
sys-fs-f...nections.mount loaded active mounted FUSE Control File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted /tmp
cups.path loaded active waiting CUPS Printer Service Spool
systemd-...d-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
systemd-...word-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
bluetooth.service loaded active running Bluetooth service
colord-sane.service loaded active running Daemon for monitoring attached scanners and registering them with colord
colord.service loaded active running Manage, Install and Generate Color Profiles
console-...daemon.service loaded active running Console Manager
console-...-start.service loaded active exited Console System Startup Logging
cups.service loaded active running CUPS Printing Service
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
kdm.service loaded active running K Display Manager
NetworkManager.service loaded active running Network Manager
sshd.service loaded active running OpenSSH Daemon
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-...s-load.service loaded active exited Load Kernel Modules
systemd-...unt-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-...-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-...rigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-...ssions.service loaded active exited Permit User Sessions
systemd-...-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Storage Daemon
upower.service loaded active running Daemon for power management
wpa_supplicant.service loaded active running WPA supplicant
cups.socket loaded active running CUPS Printing Service Sockets
dbus.socket loaded active running D-Bus System Message Bus Socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-...control.socket loaded active listening udev Control Socket
systemd-...-kernel.socket loaded active running udev Kernel Socket
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User
network.target loaded active active Network
remote-fs.target loaded active active Remote File Systems
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
systemd-...es-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
JOB = Pending job for the unit.
72 units listed. Pass --all to see inactive units, too.
Last edited by Prozzaks (2012-08-20 17:35:48)
Offline
The most obvious question would be did you install systemd-sysvcompat? It provides the symlinks for reboot, shutdown, etc. See systemd wiki.
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Thank you; it solved the problem. So, it means that KDE is still using SYSV legacy stuff instead of using systemd directly?
Offline
No, not exactly. If you look in your /sbin folder you will see that halt, reboot, poweroff all point back to systemctl command, like it says in the wiki they are symlinked.
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
For me the system only halts, it does not poweroff. How I can solve this?
Offline
For me the system only halts, it does not poweroff. How I can solve this?
As bgc1954 said, there is also a symlink "/sbin/poweroff". Just edit the file "/usr/share/config/kdm/kdmrc", go to [shutdown] an replace the line "HaltCmd=/sbin/halt" with "HaltCmd=/sbin/poweroff".
Offline