Neil Bothwick <n...@digimed.co.uk> [14-10-07 17:24]: > On Sun, 5 Oct 2014 06:34:55 +0200, meino.cra...@gmx.de wrote: > > > for starting and running a script on a headless system for me "nohup" > > works perfectly. > > For interactive session via ssh screen/tmux turned out to be the > > solution to detach from jobs started from the commandline. > > Both are hints/help I received from the community here. :) > > Thank you very much !!! :))) > > > > Since the screen/tmux thingie is THAT convenient I would like to start > > this as the default when logging in via ssh. > > I could write a script which is started by the shell (zsh) which in > > turn is started as part of the login process. > > Screen would start another shell and TADA!... > > But this is an embedded system... > > > > The result should be a running screen session right after login via > > ssh. > > > > Is there any "shorter path" to what I am trying to do -- without the > > cascade of shells which do nothing but waiting of the child process to > > end? > > I have this in ~/.zshrc. > > if [[ "${TERM}" != "screen" ]] && [[ -z "${STY}" ]] && [[ ! -f ~/.noscreen > ]]; then > screen -xRR && exit > fi > > > -- > Neil Bothwick > > Last words of a Windows user: = Where do I have to click now? - There?
Hi Neil, this logs me out instantly.... If executed directly from the commandline it works. Is there any other settings, which may effect screen? ...there is no .screenrc... Best regards, mcc