Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 9974  / 2 Years ago, wed, september 14, 2022, 6:18:07

The power button on my headless 11.10 server appears to do nothing unless I hold it in for 5 seconds or so, in which case it switches the machine off instantly.



What I'd like it to do if I press it briefly is a normal shutdown (shutdown -P now). How can I allow this?



I have seen this question but it is for desktop installations.


More From » server

 Answers
3

I believe you might need acpi-support. Check out the links below for more info on how to manipulate the power button press event.



http://blog.metalight.dk/2010/07/ubuntu-lucid-custom-power-button-event/



http://test.z13media.com/2010/03/disable-power-button-on-ubuntu-server.html


[#42506] Thursday, September 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iedncommon

Total Points: 200
Total Questions: 95
Total Answers: 132

Location: Tonga
Member since Mon, Aug 2, 2021
3 Years ago
iedncommon questions
Sat, Jun 4, 22, 18:20, 2 Years ago
Mon, Apr 4, 22, 08:10, 2 Years ago
Tue, Jul 6, 21, 15:11, 3 Years ago
;