[ESS] x11 configuration for running ess on remote server
Zhihao Ding
zh|h@o@d|ng @end|ng |rom gm@||@com
Mon Aug 17 10:27:47 CEST 2015
Thanks very much for your replies. I still haven't got it working. I am
googling around to see if it's down to some configurations of X11 or ess.
Best,
Zhihao
On 14 August 2015 at 17:17, Ista Zahn <istazahn using gmail.com> wrote:
> 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
>
--
Regards,
Zhihao Ding
[[alternative HTML version deleted]]
More information about the ESS-help
mailing list