unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: ken <gebser@mousecar.com>
To: kstrempel@gmail.com, help-gnu-emacs@gnu.org
Subject: Re: amacsclient with emacs daemon/server on remote host
Date: Sat, 16 Jan 2016 14:52:23 -0500	[thread overview]
Message-ID: <569A9F77.60208@mousecar.com> (raw)
In-Reply-To: <2274f548-2f40-4a00-9d23-a1a37018dc2c@googlegroups.com>

On 01/16/2016 11:36 AM, kstrempel@gmail.com wrote:
> Am Sonntag, 17. August 2014 15:29:33 UTC+2 schrieb lee:
>> Hi,
>>
>> I'm trying to find out how I could run an instance of emacs on a remote
>> host and access this instance with emacsclient over the network.
>>
>> Currently, I'm doing this all the time with the instance of emacs
>> running on the local host with (server-start) in my ~/.emacs.  I'd like
>> to do the same, but with emacs running on the remote host.
>>
>> Is this even possible, and if so, how do I tell the server to listen on
>> a port for network connections?
>>
>>
>> --
>> Knowledge is volatile and fluid.  Software is power.
>
> Did you found a way to do that? I'm trying to find a way to connect from OS X to an emacs daemon in my vagrant box.
>

A crazy long time ago I did this, when networks and computers were 
slower and security wasn't so formidable, but it should still be doable 
today... and probably faster.  Essentially your local machine becomes 
and X server, meaning your local machine's display, keyboard, mouse, 
etc. are used when running a command (here, emacs) on the remote 
machine.  Wild guess would be to run locally 'ssh -X -c "emacs 
filename"'.  But you'd likely need to configure X, Xclient, and the 
security bits so you don't get Denials.

I dont know Macs, so that's another game altogether.  I was working with 
Linux on both ends.  Sorry.

Please let us know what you get to work.





  reply	other threads:[~2016-01-16 19:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7155.1408283635.1147.help-gnu-emacs@gnu.org>
2016-01-16 16:36 ` amacsclient with emacs daemon/server on remote host kstrempel
2016-01-16 19:52   ` ken [this message]
2016-01-17  3:53     ` Nick Dokos
2016-01-17 13:10     ` tomas
2014-08-17 13:29 lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=569A9F77.60208@mousecar.com \
    --to=gebser@mousecar.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kstrempel@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).