[ESS] x11 configuration for running ess on remote server

Ista Zahn |@t@z@hn @end|ng |rom gm@||@com
Fri Aug 14 18:17:50 CEST 2015


And... now it magically works again, I can no longer reproduce the
problem. Good for me, not so good for Zhihao.

Zhihao, can you see if it works with a minimal config, e.g., start
emacs with 'emacs -q', evaluate[1]

(require 'package)
(package-initialize)
(require 'ess-site)

open the remote file and try to plot? If it works that would suggest
something in your emacs configuration is the cause, and you can
comment out half at a time to see where the problem is.

Best,
Ista

[1] I think this assumes you've installed ESS using the package
manager, if you installed it by hand just run _only_ those lines from
your emacs initialization file required to load ESS.

On Thu, Aug 13, 2015 at 4:29 PM, Ista Zahn <istazahn using gmail.com> wrote:
> I'm seeing the same thing here as Zhihao, but only when running with
> my full init.el. With emacs -Q and running just
>
> (require 'package)
> (package-initialize)
> (require 'ess-site)
>
> It works correctly. I don't have time to bisect my init.el to figure
> out what causes this, but I will do that later if no one else presents
> a solution before I have time to look into it.
>
> Best,
> Ista
>
> On Thu, Aug 13, 2015 at 2:35 PM, Vitalie Spinu <spinuvit using gmail.com> wrote:
>>
>> That's strange. It works for me. SSH port forwarding should be independent of
>> ESS/emacs. Does it work from emacs shell with manual ssh? Or better Tramp +
>> shell?
>>
>>   Vitalie
>>
>>>> On Thu, Aug 13 2015 16:21, Zhihao Ding wrote:
>>
>>> Thanks for you reply. I've got my X11 forwarding working outside emacs. I'm
>>> able to get plots piped through when I use the terminal. It's just when I
>>> use ESS mode to work on a remote session, it doesn't fire up any plots via
>>> X11.
>>
>>> Cheers,
>>> Zhihao
>>
>>> On 13 August 2015 at 15:48, Vitalie Spinu <spinuvit using gmail.com> wrote:
>>
>>>>
>>>> Add ForwardX11 to your .ssh/config entries. Something like:
>>>>
>>>> Host myHost
>>>>      Hostname  107.107.107.108
>>>>      User myUser
>>>>      IdentityFile ~/.ssh/myHost.pem
>>>>      ForwardX11 yes
>>>>
>>>>
>>>>  Vitalie
>>>>
>>>> >> On Wed, Aug 12 2015 12:00, Zhihao Ding wrote:
>>>>
>>>> > Hi there,
>>>>
>>>> > I had some problems with firing up X11 on remote server. I use tramp to
>>>> > open a R file on a remote server and start a R session there.  When I do
>>>> > plot I don't get X11 piped through. How do I configure this?
>>>>
>>>> > Thanks,
>>>> > Zhihao
>>>>
>>>> >       [[alternative HTML version deleted]]
>>>>
>>>> > ______________________________________________
>>>> > ESS-help using r-project.org mailing list
>>>> > https://stat.ethz.ch/mailman/listinfo/ess-help>
>>
>> ______________________________________________
>> ESS-help using r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list