4 ms·
To me, I can't think of a single other operating system that works this way, even Windows. But I'm sure the pro-systemd supporters will "correct" my thinking.
by xyzzyz 10y ago
To me, I can't think of a single other operating system that works this way, even Windows. But I'm sure the pro-systemd supporters will "correct" my thinking.
Windows has stopped all the programs I had ran when I log out for as long as I remember.
- JonathonW 10y agoBut Windows also allows a session to disconnect without logging out. (This is the default when a remote session disconnects from the client side or due to network errors, and is prominently displayed in the UI otherwise.) For an ssh session on Linux, the traditional equivalent would be to run tmux/screen in the background, but systemd will happily kill them.
- kazinator 10y agoYou can similarly disconnect a VNC to a GNU/Linux desktop without logging it out. Speaking of which, if you run an Xvnc server in the background out of your shell and log out, this systemd problem will now kill it.
- Arnavion 10y agoFor RDP - Windows doesn't spawn a new session every time you remote into a machine if there's already an existing one, and closing the RDP window without logging out leaves the session running. But then again, the closest equivalent I can think of to an SSH session is Enter-PSSession, which does close all processes started under it when closing the session with Exit-PSSession.