[ESS] ESS Plot from a remote machine

Riccardo Romoli ric.romoli at gmail.com
Fri Jul 1 13:03:27 CEST 2016


I tryed your suggestion, to put that string into the ./ssh/config file 
in both machines, but the problem still remain.

All the best

Ric

On 30/06/16 15:12, Ahmadou Dicko wrote:
>
> Hi,
>
> You can try to add this option to your config:
>
>
> ForwardX11Trusted yes
>
> Also make sure that you have this on both machine.
>
> Cheers,
>
> On Thu, Jun 30, 2016 at 2:51 PM, Riccardo Romoli <ric.romoli at gmail.com
> <mailto:ric.romoli at gmail.com>> wrote:
>
>     Hi, I get some trouble while I try to use ESS for a remote session
>     via tramp. I followed the instruction in the manual section 3.3 but
>     I get this error when I try to produce a plot:
>
>     ========================================
>     > plot(1)
>     Invalid MIT-MAGIC-COOKIE-1 keyError in .External2(C_X11, d$display,
>     d$width, d$height, d$pointsize,  :
>       unable to start device X11cairo
>     In addition: Warning message:
>     In (function (display = "", width, height, pointsize, gamma, bg,  :
>       unable to open connection to X11 display ''
>     >
>
>     ========================================
>
>     This is my ./ssh/config file:
>
>     Host *
>     Compression yes
>     CompressionLevel 9
>     KeepAlive yes
>
>     Host erre
>          HostName XX.XX.XX.XX
>          User erre
>          ForwardX11 yes
>
>     Host server
>          HostName YY.YY.YY.YY
>          User service
>          ForwardX11 yes
>
>
>     To access the remote machine I have to ssh-jump trought the
>     firewall; this is the C-x C-f:
>
>     /ssh:service at YY.YY.YY.YY|ssh:erre at XX.XX.XX.XX:/path/to/my/script.R
>
>
>     Where do I wrong? How can I overcome this?
>
>     All the best, Riccardo
>
>     ______________________________________________
>     ESS-help at r-project.org <mailto:ESS-help at r-project.org> mailing list
>     https://stat.ethz.ch/mailman/listinfo/ess-help
>
>
>
>
> --
> Ahmadou H. DICKO, PhD
> Data hacker and climate change economist
> Post-doctoral researcher
> CIRAD - UMR15 CIRAD/INRA Control of exotic and emerging diseases
> email : ahmadou-hamady.dicko at cirad.fr <mailto:ahmadou.dicko at ucad.edu.sn>
> twitter : @dickoah
> github : github/dickoa <https://github.com/dickoa>
> portable: +33 7 68 16 11 58



More information about the ESS-help mailing list