From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: framallo Newsgroups: gmane.emacs.help Subject: how to use emacsclient with a remote host? Date: Tue, 25 Nov 2008 06:45:49 -0800 (PST) Organization: http://groups.google.com Message-ID: <3c5ef98d-4e2d-448a-a7ab-ae017bb9ee6d@k41g2000yqn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227628307 29533 80.91.229.12 (25 Nov 2008 15:51:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2008 15:51:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 25 16:52:50 2008 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 1L50DQ-0007k0-JP for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2008 16:52:40 +0100 Original-Received: from localhost ([127.0.0.1]:59756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L50CH-0002pz-76 for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2008 10:51:29 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!k41g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 190.179.2.148 Original-X-Trace: posting.google.com 1227624349 15046 127.0.0.1 (25 Nov 2008 14:45:49 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 25 Nov 2008 14:45:49 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k41g2000yqn.googlegroups.com; posting-host=190.179.2.148; posting-account=eTCDWQoAAAAnwo5C1xPjEvxmoOHFxQj0 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4pre) Gecko/2008101311 Firefox/3.0.4pre (Swiftfox),gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164764 X-Mailman-Approved-At: Tue, 25 Nov 2008 10:51:09 -0500 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:60091 Archived-At: how to make a emacs available for remote hosts: on host A ; you could use ip or host name (setq server-host "A") ;set server-use-tcp to t (setq server-use-tcp t) (server-start) check file ~/.emacs.d/server/server Tip: if i use the hostname the ip goes to 127.0.0.1 On ubuntu hostname.local gives the real ip or you could write the ip. check: http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/41ae06f34fded170/1469a4400e7d22b3?lnk=gst&q=%22server-host%22+server+tcp#1469a4400e7d22b3 you copy server file to host B scp ~/.emacs.d/server/server user@B: ssh user@b $ emacsclient -c -f server I got it so far, but it's not working. Says connection refused, even that netstat says it's there.... No firewall's issues. Am i missing something? any ideas? Thanks, Federico Ramallo