You are not logged in.
(o) Description of the problem:
I have a problem with shutting down the BunsenLabs guest from host's command line; command I issue (on debian host) is:
user@host:~$ VBoxManage controlvm "guest" acpipowerbutton
(I'm using VirtualBox). The 'acpipowerbutton' in above command is equivalent of (normal) pressing on the power button, and I expect it should trigger the 'poweroff' sequence. However, the guest doesn't shut down, and nothing happens.
(o) Information I collected so far
Triggering the 'poweroff' sequence by sending 'acpipowerbutton' to guest works when the guest is plain debian, and when the guest is Win7.
Also, the BunsenLabs guest sees that the Power key is pressed when I issue 'acpipowerbutton' to the guest (from host):
user@guest:~$ sudo journalctl -f
-- Logs begin at Mon 2018-12-24 15:32:43 CET. --
...
Dec 24 15:38:20 guest systemd-logind[368]: Power key pressed.
My /etc/systemd/loignd.conf:
user@guest:~$ cat /etc/systemd/logind.conf
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
HandlePowerKey=poweroff # <--- the relevant line
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#UserTasksMax=33%
The relevant line has been originally commented out (which denotes default action), but being commented ot our not, makes no difference.
(o) The question
Apparently, something else is governing the poweroff sequence in BunsenLabs, but I cannot find it. I searched lightdm for possible option, but with no luck. Does anybody have an idea how to trigger this poweroff sequence? Help will be much appreciated.
Last edited by iMBeCil (2018-12-26 12:43:25)
Postpone all your duties; if you die, you won't have to do them ..
Offline
Check out xfce4-power-manager?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
^Haha, I feel stupid now ... that was it, I changed poweroff action in xfce4-power-manager-settings! Thanks johnraff. (I'm not familiar with BunsenLabs internals ...)
Postpone all your duties; if you die, you won't have to do them ..
Offline
Happy Christmas!
Edit OP title?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Edited ...
Best wishes to you, too!
EDIT: For the sake of completeness, let me just point out that this settings in xfce-power-manager-setting will do the same on bare metal BunsenLabs installation: it will enable shutting down (and powering off the computer) by pressing power button.
Last edited by iMBeCil (2018-12-26 13:28:34)
Postpone all your duties; if you die, you won't have to do them ..
Offline