help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to use emacsclient with a remote host?


From: framallo
Subject: how to use emacsclient with a remote host?
Date: Tue, 25 Nov 2008 06:45:49 -0800 (PST)
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]