all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: emacsclient over ssh
Date: Wed, 24 Jun 2009 17:49:01 +1000	[thread overview]
Message-ID: <87r5xars0i.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.1165.1245793203.2239.help-gnu-emacs@gnu.org

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.
>
> ssh to linux from opensolaris and then running emacs has a number of
> problems that need solving for that to be handy.  I guess having to do
> with what shell you are in and `stty' setting and other things I haven't
> thought of.
>
> At any rate a console emacs arrived at that way is a pain in the but
> to use. Its fine for normal file/directory work... but I want to
> access an emacs/gnus session running on the remote emacs-server. And I
> want the emacsclient to run in X on the localhost.
>
> Both remote and localhost are running X.
>
> The end result I'm after is to be able to access an emacs/gnus session
> that is running on a specific host from any of several hosts on the
> home lan.
>
> Someway... I want to end up with an emacsclient running in X and
> connected to a server on remotehost.


You didn't specify what version of emacs. The emacsclient has changed in
version 23 and I *think* some of those changes were backported to emacs
22. 

At any rate, running emacs 23, I can ssh to my remote system and run
emacsclient so that it pops up a new emacs X frame, so essentially, I
get what you want pretty much out of the box. The only thing I had to
configure was to tell ssh to forward X11 connections to my local host. 

I'm not sure if this X frame functionality is available in emacs 22
client. CVS Emacs 23 is very stable - I've been running it now for ages
and have only had a few minor problems that were resolved
quickly. (and I do mean minor and I do mean a few - less than 5

Tim


-- 
tcross (at) rapttech dot com dot au


  parent reply	other threads:[~2009-06-24  7:49 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
2009-06-24  7:49 ` Tim X [this message]
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

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

  git send-email \
    --in-reply-to=87r5xars0i.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --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.
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.