[arch-general] tmux/systemd: tmux user service exits on detach/logout

David Runge dave at sleepmap.de
Fri Jul 7 14:15:39 UTC 2017

Hey Andre Vitor,

On 2017-07-07 10:53:32 (-0300), André Vitor de Lima Matos wrote:
> Not sure if related, but try setting KillUserProcesses=no in
> /etc/systemd/logind.conf
> https://askubuntu.com/questions/802189/how-to-run-tmux-screen-with-systemd-230
That is an Arch default setting (commented variables in the systemd
config files reflect compile-time defaults).

Check with:
$ loginctl show-session|grep Kill

Also: The issue at hand is not a logind problem (at least not a
login/logout issue), as far as I can see, as it happens on detach from
tmux (but only sometimes).
That one often times disconnects from the machine after a tmux detach
doesn't help to figure out why it happens unfortunately :>

Thanks anyhow!


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20170707/2e45c6d2/attachment.asc>

More information about the arch-general mailing list