bug#80869: nohup does not work under LXDE and LXQt
Bruno Haible via GNU coreutils Bug Reports <[email protected]> Tue, 21 Apr 2026 18:01:05 +0200
| Newsgroups | gmane.comp.gnu.core-utils.bugs |
|---|---|
| Organization | GNU |
| Message-ID | <12695458.xSF5g7Z7nb@nimes> |
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