[ESS] ESS Plot from a remote machine

Ahmadou Dicko d|cko@@hm@dou @end|ng |rom gm@||@com
Thu Jun 30 15:12:06 CEST 2016


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 using 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 using YY.YY.YY.YY|ssh:erre using XX.XX.XX.XX:/path/to/my/script.R
>
>
> Where do I wrong? How can I overcome this?
>
> All the best, Riccardo
>
> ______________________________________________
> ESS-help using 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 using cirad.fr <ahmadou.dicko using ucad.edu.sn>
twitter : @dickoah
github : github/dickoa <https://github.com/dickoa>
portable: +33 7 68 16 11 58

	[[alternative HTML version deleted]]




More information about the ESS-help mailing list