[SOLVED] How to poweroff PBP from Linux terminal?
Dear Pinebook Pro fans,

I have a PBP and it has Debian with Linux 4.4.213 on it. I have installed i3wm beside the MATE

I have a problem with powering off the machine though. In MATE if I press the power key a dialog appears and if I press shutdown the machine shuts down and power offs as expected. However, if I run `sudo poweroff` or `sudo systemctl poweroff` the system shuts down but does not poweroff. The screen goes black and a pointer keeps blinking forever. It does not matter if I run this command inside MATE or i3, the result is the same.

According to this thread I configured the power key for i3wm and also used systemd-inhibit to prevent systemd from handling the power key when i3 is running. I think it has nothing to do with the above mentioned problem though, since that problem happens in MATE too.

The question is, what MATE does differently that its shutdown dialog can poweroff the PBP properly? Doesn't MATE use systemd to poweroff the machine?

I appreiciate any of your comments.

Adding `--force` to the poweroff command solved the issue, i.e. `sudo systemctl --force poweroff`. However, I don't know what prevents the poweroff without the force flag.

Messages In This Thread
[SOLVED] How to poweroff PBP from Linux terminal? - by mx43 - 03-16-2020, 02:02 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Kali Linux for the Pinebook Luke 1 324 03-03-2020, 05:01 AM
Last Post: e-minguez
  Failure in setting the display backlight with Armbian 5.86 [SOLVED] wlad 0 135 06-11-2019, 03:36 AM
Last Post: wlad
  MX-Linux; antiX Linux chessie 3 443 04-15-2019, 03:46 PM
Last Post: tllim
  Status of Parrot Linux on Pinebooks? secristr 0 218 03-10-2019, 02:39 PM
Last Post: secristr
  New kid on the block - AOSC Linux tllim 4 1,491 10-23-2018, 02:38 AM
Last Post: pineadmin
  Linux instant messenger Wizzard 0 333 10-05-2017, 05:18 AM
Last Post: Wizzard
  Launching a terminal app from command line Siliconserf 5 588 09-29-2017, 02:32 PM
Last Post: Siliconserf
  Linux app Manuskript on Pinebook Siliconserf 6 973 08-31-2017, 07:27 PM
Last Post: Siliconserf
Information i3wm xenial-i3 introduction -- mate terminal & battery monitor MarkHaysHarris777 4 1,894 08-31-2017, 04:47 AM
Last Post: shirman
Information Pinebook Linux Power-Down Procedure MarkHaysHarris777 3 1,271 08-28-2017, 09:57 PM
Last Post: MarkHaysHarris777

Forum Jump:

Users browsing this thread: 1 Guest(s)