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

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

Re: emacsclient over ssh


From: Richard Riley
Subject: Re: emacsclient over ssh
Date: Wed, 24 Jun 2009 12:40:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (gnu/linux)

suvayu ali <address@hidden> writes:

> 2009/6/23 Richard Riley <address@hidden>:
>> Harry Putnam <address@hidden> 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 address@hidden
>>> 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.


reply via email to

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