Page 1 of 2

MX 18 Does not shutdown/reboot

Posted: Sat Jan 19, 2019 1:47 pm
by anouar
Hello guys,
I have just installed for the first time MX 18 on my PC DELL G3. But I have the problem that the system does not shutdown or reboot.
When I click reboot the system just hung there. The xfce bar disappear and I can only see the wallpaper and the widget of 6% cpu usage.
I installed the latest version two days ago and my system is uptodate. I tried adding poweroff option in the HAL file but that did not solve the problem.
Thank you for your help in advance.

Re: MX 18 Does not shutdown/reboot

Posted: Sat Jan 19, 2019 2:33 pm
by oops
Hello & welcome,
Try into a terminal:

Code: Select all

/bin/systemctl reboot
#or
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.Reboot" boolean:true

#or
/bin/systemctl poweroff
#or
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.PowerOff" boolean:true

Re: MX 18 Does not shutdown/reboot

Posted: Sat Jan 19, 2019 2:33 pm
by Stevo
What is the HAL file? MX hasn't used hal (hardware abstraction layer) for some years now--since MX 15.

Please give us the results of Quick System Information in the menu, too, in code tags (highlight text and click the </> button)

Re: MX 18 Does not shutdown/reboot

Posted: Sat Jan 19, 2019 2:48 pm
by anouar
1/ I tried systemctl poweroff and reboot doesn't work either. same problem


2/ I have found in an old post that I should add a line "INIT_HALT = POWEROFF" in : /etc/default/halt
But that did not work

Re: MX 18 Does not shutdown/reboot

Posted: Sat Jan 19, 2019 4:45 pm
by oops
I have just installed for the first time MX 18 on my PC DELL G3. But I have the problem that the system does not shutdown or reboot.
... You should retry first with the liveCd/liveUsb if it's the case too.

Re: MX 18 Does not shutdown/reboot

Posted: Sun Jan 20, 2019 1:19 am
by asqwerth
isn't systemctl a systemd command?

If you aren't using systemd as init, would that command even be applicable at all?

Re: MX 18 Does not shutdown/reboot

Posted: Sun Jan 20, 2019 3:03 am
by KoO
systemctl is a systemd command won,t work with antiX or MX unless you go with systemd install.
I tried to use systemctl with i3 as you can code a shutdown reboot etc command with it no worky Good I Say. Then I worked out their was already in the system a little gem called desktop-session-exit antiX awesomeness lives on. :happy:

So terminal command sudo halt or sudo reboot not working as well. ?

Re: MX 18 Does not shutdown/reboot  [Solved]

Posted: Sun Jan 20, 2019 3:28 am
by BitJam
KoO wrote: Sun Jan 20, 2019 3:03 am So terminal command sudo halt or sudo reboot not working as well?
I routinely use "sudo poweroff" and "sudo reboot".

Also, I remember having a problem with shutting down and rebooting a number of years ago on an Acer ES1-511. I doubt this is the same problem but it might be a similar hardware-related problem: Re: Intel DG965OT Power Off Failure

Re: MX 18 Does not shutdown/reboot

Posted: Mon Jan 21, 2019 3:02 am
by anouar
1/ with liveUSB when I installed mxlinux the system was able to shutdown after install
2/ maybe systemctl is systemd command.. but it works here also I also tried init 0 and the same problem happens
I tried selecting the second option in advanced grub menu on boot the option with systemd. and I was unable to poweroff my pc once again.

3/ the Quick System Information does not work for me. I tried opening it from xfce menu and the terminal never shows anything
I tried it with sudo quick-system-info-mx nothing also empty terminal.
the nvidia driver installer have the same problem.( in this case it just shows me the date and then nothing)

Re: MX 18 Does not shutdown/reboot

Posted: Mon Jan 21, 2019 6:43 am
by Richard
I suspect you have seriously damaged your installation.
Suggest that you make a backup of data you wish to keep and reinstall.

MX is designed to use SysVinit by default; running systemd puts you into experimental territory.

My MX-18_amd64 install starts fast and shuts down even faster.