This question already has an answer here:
I need to login to my school computer where I am running an experiment. I am logging via SSH -X since it uses a custom made GUI application. I want to be able open the program, make it start collection data, then logoff and check on it a few hours later.
I found many similar questions but but could not find a answer that would work for me. Screen and tmux are not available. Neither are byobu or similar stuff. The computer runs on some kind of old debian and I don't have root access.
I tried nohup which I understand should do the job but I could get it to work. I did:
nohup myprogram & exit
after I do
exit the terminal doesn't close and the window of "myprogram" is still there. I have to close the terminal which asks me if I want to kill all open process.
I also couldn't find how to open a program that I have "nohuped" in a previous session. I tried doing
nohup myprogram & again but it did not open the previous state of the program.