unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Richard Riley <rileyrgdev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacsclient over ssh
Date: Wed, 24 Jun 2009 12:40:52 +0200	[thread overview]
Message-ID: <h1svri$gff$1@news.eternal-september.org> (raw)
In-Reply-To: mailman.1178.1245818812.2239.help-gnu-emacs@gnu.org

suvayu ali <fatkasuvayu+linux@gmail.com> writes:

> 2009/6/23 Richard Riley <rileyrgdev@gmail.com>:
>> Harry Putnam <reader@newsguy.com> writes:
>>
>>> Can I get some guidance on this:
>>>
>>> I want to run emacsclient on localhost but connect to emacs-server
>>> running running on remotehost.
>>>
>>> is there syntax for the emacsclient -s flag to go thru ssh to the
>>> remote emacs-server
>>>
>>>   maybe something like emacsclient -s host:server -c
>>>
>>> If this is the wrong way to go maybe someone can tell me how its done.
>>> So far I've just been doing ssh user@host
>>> Then run emacsclient on the remote... but of course I'm then limited
>>> to a console emacs.
>>
>> Possibly just enable x forwarding? Google will help with that. Probably
>> something like /etc/ssh/sshd_config and
>>
>> "X11Forwarding yes"
>>
>> Then if you have the server running on hermes for example your
>> command could be I guess:
>>
>> ssh hermes 'emacsclient -c filename'
>>
>
> use 'ssh -Y' for X forwarding

-X here if not enabled by default on the server.


  parent reply	other threads:[~2009-06-24 10:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1165.1245793203.2239.help-gnu-emacs@gnu.org>
2009-06-23 22:09 ` emacsclient over ssh Richard Riley
2009-06-23 23:13   ` suvayu ali
     [not found]   ` <mailman.1178.1245818812.2239.help-gnu-emacs@gnu.org>
2009-06-24 10:40     ` Richard Riley [this message]
2009-06-24  7:49 ` Tim X
2009-06-24  8:32 ` Josef G. Bauer
2009-06-24 12:13 ` Anselm Helbig
2009-06-25  4:47   ` Harry Putnam
2009-06-25  7:28     ` tomas
2009-06-25 11:38       ` Harry Putnam
     [not found]     ` <mailman.1230.1245914729.2239.help-gnu-emacs@gnu.org>
2009-06-25 11:13       ` Richard Riley
2009-06-25 12:20         ` tomas
     [not found]         ` <mailman.1238.1245932253.2239.help-gnu-emacs@gnu.org>
2009-06-25 12:47           ` Richard Riley
2009-06-25 12:49             ` Richard Riley
2009-06-23 21:39 Harry Putnam

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='h1svri$gff$1@news.eternal-september.org' \
    --to=rileyrgdev@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).