Skip to main content

Timeline for why remote terminal hangs on exit?

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
Mar 26, 2022 at 8:46 vote accept xrfang
Mar 26, 2022 at 2:16 answer added G-Man Says 'Reinstate Monica' timeline score: 0
Mar 25, 2022 at 13:45 comment added Panki On disconnecting, you should send SIGHUP to the remote shell (so it can terminate running jobs in the background). From man 7 signal: "Hangup detected on controlling terminal or death of controlling process"
Mar 25, 2022 at 7:24 comment added xrfang @G-ManSays'ReinstateMonica' I tested confirmed that nohup does fix my problem. so, how should I proceed, I do not want to use nohup all the time...
Mar 25, 2022 at 6:16 comment added G-Man Says 'Reinstate Monica' (1) I suspect that, when you say “external”, you mean “asynchronous”.  Research that word and let us know if that’s what you mean. (2) What happens if you run your asynchronous command with nohup?
Mar 25, 2022 at 5:47 history edited xrfang CC BY-SA 4.0
added 333 characters in body
Mar 25, 2022 at 5:44 comment added xrfang @gerhard rts does not expose any port outside, ssh is not usable. I will edit the post to explain what exactly is "external program"
Mar 25, 2022 at 5:17 comment added gerhard d. Seems to me a if rtc does not recognize the termination of remote programs. That's something only you can fix since you developed that software. What do you mean by 'external programs' or 'bash command'? Are you talking about bash builtin functions? Another question: Why don't just you use 'ssh' for the job?
S Mar 25, 2022 at 4:01 review First questions
Mar 26, 2022 at 8:48
S Mar 25, 2022 at 4:01 history asked xrfang CC BY-SA 4.0