Can I remotely access an IPython laptop without using the integrated graphics?

I would like to connect to the IPython laptop on a remote computer (either via ssh-tunnel or through https) and for the ipython laptop to open the matplotlib graph in a new window (compared to "inline").

Is it possible?

When I try to build without a “built-in” backend, the kernel kernel reports “cannot connect to the X server” and crash.

The X11 server is running on the client computer, and I turned on X11 forwarding using the -Y option when creating ssh-tunnel.

Thanks for any advice.

+5
source share
1 answer

Yes, this is at least through tunneling through ssh.

(: Ubuntu 12.04, )

, , IPython- ssh X-forwarding ssh ( : , X), . , . :

at-home:~$ ssh -X -L 8889:localhost:8888 my.server
... login message from my.server
my.server:$ cd /folder/containing/my/notebooks
my.server:$ ipython notebook
[NotebookApp] .... lots of info about the IPython notebook server including
[NotebookApp] The IPython notebook is running at 'http://127.0.0.1:8888/'

, 8889 - , http://localhost:8889/ at-home. Qt4Agg.

, https, IPython ( : ssh -X). , , X-. - , !

, IPython, X-, - ssh, , ( !).

+4

All Articles