Many thanks for your answer. 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?
On Saturday, August 20, 2016 at 8:45:58 AM UTC-7, takowl wrote: > > 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 <[email protected] > <javascript:>> 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jupyter/0ea03f7c-0e07-4ad8-852e-281913fcc9c1%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jupyter/0ea03f7c-0e07-4ad8-852e-281913fcc9c1%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/886507bd-de2c-4409-ab20-42516ce6bd9c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
