Menu

Restart Window Maker Live

Ydeklinux
2024-02-17
2024-02-17
  • Ydeklinux

    Ydeklinux - 2024-02-17

    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
  • Ydeklinux

    Ydeklinux - 2024-02-17

    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
  • Window Maker Live

    The blame for this supposedly goes to systemd:

    [root]~ # dpkg -S /sbin/shutdown
    systemd-sysv: /sbin/shutdown
    

    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
    

    with

    sudo /usr/bin/systemctl --force reboot || shutdown_denied
    

    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!

     
  • Window Maker Live

    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.

     
  • Ydeklinux

    Ydeklinux - 2024-02-17

    Thanks for the answer.
    I will make the changes you indicated.
    Greetings !

     

    Last edit: Ydeklinux 2024-02-18

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.