Power button only work when logged in

General support questions
Post Reply
sejsv
Posts: 1
Joined: 2014/08/25 14:31:04

Power button only work when logged in

Post by sejsv » 2014/08/25 14:43:11

I want to be able to power off my centos box easy, by just pressing the powerbutton. I've googled a bit and partly found a solution.

Code: Select all

yum -y install acpid
service acpid start
chkconfig acpid on
The problem is that it only works when I am logged in and the screen isn't on standby. I want to be able to choose to hibernate, sleep or poweroff the computer by that button, how do I do it?

Post Reply

Return to “CentOS 7 - General Support”