Pádraig Brady wrote:
> Well nohup, just ignores SIGHUP,
> so the issue must be something specific to LX killing things.
> I presume this issue is not specific to v9.11 of nohup?
> 
> A quick search suggests lxsession is not as well integrated as the others 
> with systemd.
> The others auto manage graphical and user slices, whereas one needs
> to do this manually with lxsession. Something like:
> 
> # keep [email protected] alive after the session ends
> loginctl enable-linger $USER
> 
> # start the process in [email protected] instead of session-N.scope
> # as logind kills everything in session-N.scope on logout
> systemd-run --user --scope nohup your_command &

Thanks for the insights. I've reported the bug there:

* For LXDE:
  https://github.com/lxde/lxsession/issues/48

* For LXQt:
  https://github.com/lxqt/lxqt/issues/2843

Bruno






Reply via email to