On X startup the following is ran automatically:
xterm -e screen -rS app1
This opens up an xterm session and attaches the screen of app1, which was already running in a detached state.
What I'd like to achieve is the ability to close the xterm window, using
ctrl-c, without terminating the GNU screen session. The exhibited behavior when pressing
ctrl-c is that app1 and the screen session terminates.
I was reading on the autodetach feature but so far and I haven't been successful and I don't know if this is what I need.
I'm running KDE with SLES 11.3.