2 ms·
Depends what you mean by 'session'. Unix has long had a concept of sessions, where the login shell will send SIGHUP to everything in the session when it exits;
by comex 10y ago
Depends what you mean by 'session'. Unix has long had a concept of sessions, where the login shell will send SIGHUP to everything in the session when it exits; daemons like tmux (the server side) indicate their intent to start a separate session using setsid(). Apparently systemd has its own concept of session which is the same idea but completely separate, and requires some systemd specific magic to split off. Yay!
- JdeBP 10y agoIn fairness, X desktops have their own concepts of sessions that are not congruent with kernel sessions, similarly. * http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/windows-nt-session.html#UnixLoginSession http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/wi... * https://www.x.org/releases/X11R7.6/doc/man/man1/xdm.1.xhtml#heading3 https://www.x.org/releases/X11R7.6/doc/man/man1/xdm.1.xhtml#...