<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; ">Dear James,<div><br></div><div>Thank you very much for your answer. Indeed, my home directory on the sever is encrypted. I opted for a very easy solution: I just created a new user without encrypting its home directory. Everything is running smoothly now. </div><div><br></div><div>Best,</div><div>Pantelis</div><div><br></div><div><br><div><div>On 11/nov/2013, at 09:21, James Booth <<a href="mailto:jabooth@gmail.com">jabooth@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Looks like the problem is that you don't have permission to access your home dir after logout:<div><br></div><div><span style="font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 16px; white-space: pre; ">OSError: [Errno 13] Permission denied: '/home/chung/.ipython'</span><br>
<div><br></div><div>Is your home drive encrypted? If so that could definitely be the problem, see here:</div><div> </div><div><a href="http://askubuntu.com/questions/191142/is-it-possible-to-use-the-screen-command-to-work-with-files-on-an-encrypted-ho">http://askubuntu.com/questions/191142/is-it-possible-to-use-the-screen-command-to-work-with-files-on-an-encrypted-ho</a><br>
</div><div><br></div><div>Best wishes</div><div>James</div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 11 November 2013 03:47, Pantelis Sopasakis <span dir="ltr"><<a href="mailto:p.sopasakis@gmail.com" target="_blank">p.sopasakis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Dear all,<div><br></div><div>I posted a question related to python-notebook on stackoverflow, please see:</div>
<div><br></div><div><a href="http://stackoverflow.com/questions/19896119/ipython-notebook-on-remote-server-peculiarity" target="_blank">http://stackoverflow.com/questions/19896119/ipython-notebook-on-remote-server-peculiarity</a></div>
<div><br></div><div>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><br></div><div>
I connect to the remote server over SSH and I start ipython-notebook using the commands:</div><div><br></div><div><font face="Courier">screen -S ipy</font></div><div><font face="Courier">ipython notebook --ip='*' ---pylab=inline --port=7777</font></div>
<div><br></div><div><div>So far so good - everything works excellently server-side and client-side (not only on my computer, but also from other clients). </div><div><br></div><div>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/" target="_blank">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><br></div><div><a href="https://gist.github.com/alphaville/7407447" target="_blank">https://gist.github.com/alphaville/7407447</a></div><div><br></div><div>The strange this is that when I reconnect everything works smoothly again, and in particular I am receiving the following log messages:</div>
<div><br></div><div><div><font face="Courier">[NotebookApp] Using existing kernel: 1d102222-d480-4543-a0d9-628599fc3e6b</font></div><div><font face="Courier">[NotebookApp] Connecting to: <a>tcp://127.0.0.1:44393</a></font></div>
<div><font face="Courier">[NotebookApp] Connecting to: <a>tcp://127.0.0.1:50684</a></font></div><div><font face="Courier">[NotebookApp] Connecting to: <a>tcp://127.0.0.1:45910</a></font></div><div><font face="Courier">[NotebookApp] Using existing profile dir: u'/home/chung/.ipython/profile_default'</font></div>
<div><font face="Courier">[NotebookApp] Changing to working dir: /home/chung</font></div></div><div><br></div><div>(the last line may be of particular interest). </div><div><br></div><div>Of course keeping an open SSH connection to the server is not a solution… </div>
<div><br></div><div>Could someone provide some hint? Any help is greatly appreciated.</div><div><br></div><div>Best regards,</div><div>Pantelis Sopasakis</div></div><br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>IPython-dev mailing list<br><a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>http://mail.scipy.org/mailman/listinfo/ipython-dev<br></blockquote></div><br></div></body></html>