I still can't figure out how to restart the computer.
When clicking on Reboot, Session Menu > Shutdown > Reboot, Window Maker Live returns to the WM desktop, but I would like to restart the computer,.
How do I do it correctly?
Thanks!
Last edit: Ydeklinux 2024-02-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The systemd based shutdown defaults to a so called soft-reboot instead of the expected behaviour and simply reloads the kernel, replacing it's running instance with a fresher/newer one. Rather annoying if just a reboot to a different OS was intended. See https://www.theregister.com/2023/08/02/systemd_254/ for a nice take on this "enhancement".
Assuming you use 'Session Menu > Shutdown > Reboot', this is defined in /usr/bin/wmlive-shutdown at line 67. You might want to replace this line
sudo /usr/sbin/shutdown --reboot now || shutdown_denied
An updated wmlive-utils package has been made available and can now be upgraded via the usual apt procedures.
Obviously, this won't magically alter the contents of the available ISO images. But you can always recreate the ISO image with more recent packages following the procedure outlined in /usr/local/src/README_wmlive-sources.txt if properly installed to disk.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
I'm using WM Live on a pendrive and it's working great, thanks to the whole team.
Last edit: Ydeklinux 2024-02-18
I still can't figure out how to restart the computer.
When clicking on Reboot, Session Menu > Shutdown > Reboot, Window Maker Live returns to the WM desktop, but I would like to restart the computer,.
How do I do it correctly?
Thanks!
Last edit: Ydeklinux 2024-02-18
The blame for this supposedly goes to systemd:
The systemd based shutdown defaults to a so called soft-reboot instead of the expected behaviour and simply reloads the kernel, replacing it's running instance with a fresher/newer one. Rather annoying if just a reboot to a different OS was intended. See https://www.theregister.com/2023/08/02/systemd_254/ for a nice take on this "enhancement".
Assuming you use 'Session Menu > Shutdown > Reboot', this is defined in /usr/bin/wmlive-shutdown at line 67. You might want to replace this line
with
The package 'wmlive-utils' containing the wmlive-shutdown script will eventually be updated with a new version incorporating this fix.
Thanks for reporting this issue!
An updated wmlive-utils package has been made available and can now be upgraded via the usual apt procedures.
Obviously, this won't magically alter the contents of the available ISO images. But you can always recreate the ISO image with more recent packages following the procedure outlined in /usr/local/src/README_wmlive-sources.txt if properly installed to disk.
Thanks for the answer.
I will make the changes you indicated.
Greetings !
Last edit: Ydeklinux 2024-02-18