<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">Dear all,<div class=""><br class=""></div><div class="">I posted a question related to python-notebook on stackoverflow, please see:</div><div class=""><br class=""></div><div class=""><a href="http://stackoverflow.com/questions/19896119/ipython-notebook-on-remote-server-peculiarity">http://stackoverflow.com/questions/19896119/ipython-notebook-on-remote-server-peculiarity</a></div><div class=""><br class=""></div><div class="">I want to run an instance of ipython-notebook on a remote server and to access it remotely on the client's browser. For the time being I am not interested in security issues. </div><div class=""><br class=""></div><div class="">I connect to the remote server over SSH and I start ipython-notebook using the commands:</div><div class=""><br></div><div class=""><font face="Courier">screen -S ipy</font></div><div class=""><font face="Courier">ipython notebook --ip='*' ---pylab=inline --port=7777</font></div><div class=""><br></div><div class=""><div class="">So far so good - everything works excellently server-side and client-side (not only on my computer, but also from other clients). </div><div class=""><br class=""></div><div class="">I then detach the screen (still everything OK) and then I log out from SSH. Then, I can connect to the remote server at <a href="http://someserver.sth:7777">http://someserver.sth:7777</a>, but I can neither see the notebooks that I previously created listed, nor can I execute any code. Instead of my notebooks, I can only see a notebook titled 'Untitled0'. If I try to start my 'default' cluster, it gives me the error message: 'error starting cluster'. Server-side, I get the following error message (I uploaded it on github for your convenience):</div></div><div class=""><br class=""></div><div class=""><a href="https://gist.github.com/alphaville/7407447">https://gist.github.com/alphaville/7407447</a></div><div class=""><br class=""></div><div class="">The strange this is that when I reconnect everything works smoothly again, and in particular I am receiving the following log messages:</div><div class=""><br class=""></div><div class=""><div class=""><font face="Courier" class="">[NotebookApp] Using existing kernel: 1d102222-d480-4543-a0d9-628599fc3e6b</font></div><div class=""><font face="Courier" class="">[NotebookApp] Connecting to: <a href="tcp://127.0.0.1:44393">tcp://127.0.0.1:44393</a></font></div><div class=""><font face="Courier" class="">[NotebookApp] Connecting to: <a href="tcp://127.0.0.1:50684">tcp://127.0.0.1:50684</a></font></div><div class=""><font face="Courier" class="">[NotebookApp] Connecting to: <a href="tcp://127.0.0.1:45910">tcp://127.0.0.1:45910</a></font></div><div class=""><font face="Courier" class="">[NotebookApp] Using existing profile dir: u'/home/chung/.ipython/profile_default'</font></div><div class=""><font face="Courier" class="">[NotebookApp] Changing to working dir: /home/chung</font></div></div><div class=""><br class=""></div><div class="">(the last line may be of particular interest). </div><div class=""><br></div><div class="">Of course keeping an open SSH connection to the server is not a solution… </div><div class=""><br class=""></div><div class="">Could someone provide some hint? Any help is greatly appreciated.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">Pantelis Sopasakis</div></body></html>