Shutdown, reboot and logout entries for JWM desktop in PCLOS Debian

The solution was to make a ~/.xinitrc file which contents is

exec dbus-launch --exit-with-session jwm

And the add to the JWM menu file (~/.jwm/menu) entries

WordPress does not show codes right so code as a picture.

And as text jwm-srlo-entries

And log out script (~/.jwm/LogOut) is

#!/bin/bash
session=`loginctl session-status | head -n 1 | awk '{print $1}'`
loginctl terminate-session $session

Found from https://wiki.gentoo.org/wiki/Elogind

Should work in IceWM Desktop also