From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C40E21388E3 for ; Tue, 7 Oct 2014 16:47:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09638E0CDD; Tue, 7 Oct 2014 16:47:03 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E8BFE0CB9 for ; Tue, 7 Oct 2014 16:47:01 +0000 (UTC) Received: from localhost ([84.133.144.248]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MACmL-1XVFKU34wb-00BOU5 for ; Tue, 07 Oct 2014 18:47:00 +0200 Date: Tue, 7 Oct 2014 18:46:58 +0200 From: meino.cramer@gmx.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Again some "headless" stuff/question Message-ID: <20141007164658.GD3826@solfire> References: <20141005043455.GA3856@solfire> <20141007124533.2a2b2c0f@hactar.digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141007124533.2a2b2c0f@hactar.digimed.co.uk> User-Agent: mutt-ng/devel-r804 (Linux) X-Provags-ID: V03:K0:VFLQBLTp5HdrZMbk9O7ldzknte0zU81SiKCeDBh2D81RKGZ/9eu AYsQtL1CdnGESP1tuc2NL0b9V2sEMejxfegPtW9TzjshKc3GnyTIBlLosfAPBypUBRas9iy txbvmOLMat6DLsDCrG0lHwyHf9cVZXsPaE43J94e8cYslW3x0q+IwLHyLw4UnfDNq4kAM4b hNW5jwd6FfWvsTYsuhDXg== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: 297a3c93-92f7-4fe3-9e89-bcf803c176cc X-Archives-Hash: 3ac29b2eca08e7103ac1c5a67d2e345d Neil Bothwick [14-10-07 17:24]: > On Sun, 5 Oct 2014 06:34:55 +0200, meino.cramer@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