Posted: Sat 02 Mar 2019, 18:52 Post subject:
woofCE wmexit can hang
/etc/windowmanager may not point to the process that wmexit needs to kill, and wmexit can fail to stop the wm. Puppy will hang and not stop Xwindows.
This will happen if the wm is started from a script (some wms start from a script by default, I think xmonad does.) It will happen if the wm is switched to another wm. Some wms have that capability.
If the wm is jwm or icewm or openbox, wmexit will explicitly kill them anyway, but that is a workaround. In situations like starting from a script, it is impossible for wmexit to know what it needs to kill. Therefore, to shutdown reliably, it needs to then try to kill X.
This should work. Replace this:
for i in xfce4-panel lxsession lxqt-session `cat /etc/windowmanager` jwm icewm openbox
for i in xfce4-panel lxsession lxqt-session `cat /etc/windowmanager` jwm icewm openbox X Xorg
or put killall -q X Xorg at the bottom of wmexit.
wmexit can not always know what needs to be killed.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum