From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: Running emacs deamon outside login Date: Sat, 23 Jan 2010 20:59:55 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <20100122035249.98DE49BBF0@mxperim5.sea5.speakeasy.net> <20100123193851.GA389@srevilak.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1264276860 25812 80.91.229.12 (23 Jan 2010 20:01:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Jan 2010 20:01:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 23 21:00:52 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NYmA6-0003Gg-PD for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Jan 2010 21:00:51 +0100 Original-Received: from localhost ([127.0.0.1]:55360 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYmA7-0003n4-W2 for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Jan 2010 15:00:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NYm9j-0003lD-TO for help-gnu-emacs@gnu.org; Sat, 23 Jan 2010 15:00:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NYm9f-0003em-C0 for help-gnu-emacs@gnu.org; Sat, 23 Jan 2010 15:00:27 -0500 Original-Received: from [199.232.76.173] (port=39348 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYm9f-0003ee-5g for help-gnu-emacs@gnu.org; Sat, 23 Jan 2010 15:00:23 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:20891) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NYm9e-0001cV-QU for help-gnu-emacs@gnu.org; Sat, 23 Jan 2010 15:00:22 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NYm9e-00055c-4p for help-gnu-emacs@gnu.org; Sat, 23 Jan 2010 15:00:22 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NYm9a-00033g-Op for help-gnu-emacs@gnu.org; Sat, 23 Jan 2010 21:00:18 +0100 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jan 2010 21:00:18 +0100 Original-Received: from rileyrgdev by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jan 2010 21:00:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71406 Archived-At: Steve Revilak writes: > --pWyiEgJYm5f9v55/ > Content-Type: text/plain; charset=us-ascii; format=flowed > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > >> Subject: Re: Running emacs deamon outside login > > srevilak> nohup emacs --daemon /dev/null 2>&1 & > > rileyrgdev> Hi Steve. > rileyrgdev>=20 > rileyrgdev> I am confused as why any of this is necessary? > > Richard, > > Let's go back to the original post. > > OP> On Linux, I've been wondering whether there's a good way to run > OP> emacs deamon outside of my login process, so that I can log out > OP> and in again and connect to the same emacs deamon process. > > OP> This may be more of a Linux question than an Emacs question, but > OP> does anyone know of any better ways to do this? It's essentially > OP> just some way to ensure that the emacs process stays alive when I > OP> log out. > > I simply answered the more general question: "how do I keep a unix > process alive after I log out?". > > Steve Well, fair enough but the question was about Linux and the Emacs daemon. And one doesn't have to do anything to keep it alive - certainly not nohup - so I wondered if perhaps your answer might have confused. I had wondered if there was any benefit in using nohup hence I asked why the complicated approach when its not necessary. cheers r.