On Fri, 24 Apr 2020 08:06:53 -0400, Rich Freeman wrote:

> > > ... I just hope the remote system isn't running systemd, if so, you
> > > have to do some additional tweaking before screen or tmux work. I
> > > know someone who was bitten hard by this. Apparently systemd by
> > > default closes all running processes of a user on logout.  
> >
> > I've never seen this and I regularly update systemd computers using
> > tmux.  
> 
> It is a configurable option.  I can't imagine that many distros enable
> it by default since it is likely to be shocking to anybody who
> actually knows how to use screen, and pointless for anybody who does
> not.  :)
> 
> To enable it set KillUserProcesses=yes in /etc/systemd/logind.conf

Thanks for that, now I know which man page to check it all makes sense.
The man page does say that it defaults to off. I agree that there
wouldn't be much point in a general purpose distro overriding this default
but I can see times it would be useful.
 
> If you do use it there are ways to make exceptions for particular
> processes.


-- 
Neil Bothwick

WYTYSYDG - What you thought you saw, you didn't get.

Attachment: pgpeZygwE3UBk.pgp
Description: OpenPGP digital signature

Reply via email to