all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to use emacsclient with a remote host?
@ 2008-11-25 14:45 framallo
  2008-11-25 16:05 ` Juanma Barranquero
  0 siblings, 1 reply; 6+ messages in thread
From: framallo @ 2008-11-25 14:45 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-11-26  9:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-25 14:45 how to use emacsclient with a remote host? framallo
2008-11-25 16:05 ` Juanma Barranquero
2008-11-26  4:07   ` Federico Ramallo
2008-11-26  4:22     ` Erik Iverson
2008-11-26  9:45       ` Federico Ramallo
2008-11-26  8:28     ` Juanma Barranquero

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.