systemd-logind only intercepts power button after suspend cycle
I have a fresh installation of xubuntu 19.04, with all subsequent updates applied, on a Lenovo x120e.
From a fresh boot, I run: journalctl -f
Then press the power button.
Expected behavior is "May 20 21:47:17 xyz systemd-
and whatever action is defined in the XFCE4 power manager (presently set to "ignore")
Actual behavior is system immediately reboots.
Plot twist: If I boot fresh, then run "systemctl suspend", then resume from suspended state by pressing the power button, wait for it all to come back, and THEN repeated the steps above, I get the correct log message from systemd-logind, including suspending if that's how XFCE4 power settings are set.
In summary, either something is pre-empting logind from intercepting the power button press or the "hook", is not registered, from a fresh boot until a suspend/resume cycle is manually initiated.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: