From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sven Bretfeld" Newsgroups: gmane.emacs.help Subject: Re: How to install emacs server on ubuntu Date: 26 Nov 2009 21:50:49 +0100 Message-ID: <877htdrowm.fsf@gmx.ch> References: <3b9893450911251506y251af321n15150ddff15a3a0b@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259268588 2835 80.91.229.12 (26 Nov 2009 20:49:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2009 20:49:48 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "n179911" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 26 21:49:41 2009 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 1NDlHV-0002ac-13 for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Nov 2009 21:49:37 +0100 Original-Received: from localhost ([127.0.0.1]:58017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDlHU-0000Bf-Nc for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Nov 2009 15:49:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDlH2-00009a-RV for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 15:49:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDlGy-0008T6-5n for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 15:49:08 -0500 Original-Received: from [199.232.76.173] (port=33942 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDlGx-0008Sz-Sm for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 15:49:03 -0500 Original-Received: from mx2.rz.ruhr-uni-bochum.de ([134.147.64.30]:44828) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NDlGx-0002zZ-EU for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 15:49:03 -0500 X-Queued: (qmail 20670 invoked from network); 26 Nov 2009 20:49:00 -0000 Original-Received: from c2-3-4.rz.ruhr-uni-bochum.de (134.147.64.5) by mx2.rz.ruhr-uni-bochum.de with SMTP; 26 Nov 2009 20:49:00 -0000 X-Queued: (qmail 15208 invoked by uid 281); 26 Nov 2009 20:49:00 -0000 X-Qmailscanner: from 88.153.160.5 (0axIjN0NPR91OiJ2IVbm2A==@88.153.160.5) by c2-3-4.rz.ruhr-uni-bochum.de (envelope-from , uid 80) with qmail-scanner-2.01 (sophie: 3.05/2.89/4.44. Clear:RC:1(88.153.160.5):. Processed in 0.031139 secs); 26 Nov 2009 20:49:00 -0000 Original-Received: from ip-88-153-160-5.unitymediagroup.de (HELO kamaloka) (0axIjN0NPR91OiJ2IVbm2A==@88.153.160.5) by c2-3-4.rz.ruhr-uni-bochum.de with (DHE-RSA-AES128-SHA encrypted) SMTP; 26 Nov 2009 20:49:00 -0000 In-Reply-To: <3b9893450911251506y251af321n15150ddff15a3a0b@mail.gmail.com> (n179911@gmail.com's message of "Wed, 25 Nov 2009 15:06:36 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:70156 Archived-At: Hi n179911 writes: > I have download the following script and cp it to /etc/init.d/emacsd > http://www.emacswiki.org/emacs/EmacsdInitScript I really don't see the advantage of this script. I've also tried it once. I merely start the daemon once I log in with 'emacs --daemon' under Ubuntu Karmic, and that's it. You can also let that command be executed by an auto-start script under Gnome, KDE or whatever. Once the daemon is started, you can do 'emacsclient -c' either by using alt-F2 or with a prepared icon. By the way, under Ubuntu you have to take care that you start the correct version of the client fitting to the version of the server, since you might have more than one Emacs version installed (emacs22, emacs23 and emacs-snapshot are available in the standard repo). In case you have, you should start daemon and client with 'emacs.emacs-snapshot --daemon' etc. Good luck Sven