There are many cases where when I run a program from a terminal (gnome-terminal, xterm etc), and I accidentally close the terminal, the program will be terminated as well. This happen even I send the program to background, for example I initiate xmms from gnome-terminal
When I close the gnome terminal, xmms is terminated as well. To avoid programs from terminated, use a command call
nohup (No hang up!)
The terminal output will looks like this:
nohup: appending output to `nohup.out'
It will now not hang up when you close your terminal.