Tell me more ×  Running Ubuntu 9.10, when I execute:  rdesktop &
The remote desktop window appears, and the command appears to
end in the shell it was executed from because I can execute
further commands; however, when I close the shell the remote
desktop window closes with it. How can I spawn the rdesktop
process such that it remains open when the terminal that spawned
it closes? I don't seem to have the same problem with running:
firefox & share|improve this question add comment  3 Answers  up
vote 6 down vote accepted  Just use:  nohup rdesktop &
share|improve this answer nice, wasn't aware of this nohup
command... Thanks! –  codeLes Nov 10 '09 at 16:23 Excellent,
thanks! –  Jonesinator Nov 10 '09 at 17:16 add comment  If you
have a background process running already and want to close it's
parent process (the terminal window) without killing the child
process, you can disown it:  $ rdesktop & $ disown  After the
process is disowned, it will not be killed when it's parent
process terminates.  As a side no