Whenever I create an empty notebook in JupyterHub, I get the following error (irrespective of the python version):
: cannot connect to X server
I logged into the server with ssh + X11 forwarding.
P.S.: I am starting the jupyterhub with --no-ssl command
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/0ea03f7c-0e07-4ad8-852e-281913fcc9c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Is it possible that something when a kernel starts is loading matplotlib (or pylab)? IPython itself shouldn't need an X server, but some matplotlib backends might.
On 20 August 2016 at 01:02, Sachin Mehta <sachinm...@gmail.com> wrote:
Whenever I create an empty notebook in JupyterHub, I get the following error (irrespective of the python version):
: cannot connect to X server
I logged into the server with ssh + X11 forwarding.
P.S.: I am starting the jupyterhub with --no-ssl command
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
I do agree that matplotlib or pylab might be causing this issue. However, in jupyter notebook, we can control the invoking of these libraries using "c.NotebookApp.pylab = 'disabled' " command in jupyter_notebook_config.py file. Such an option doesn't exist in jupyterhub_config.py file. How can we disable pylab or matplotlib at the initialization of jupyterhub?
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/882de6d4-c127-43cb-9da4-7a5e1d27329c%40googlegroups.com.