[IPython-dev] ipython-notebook on remote server peculiarity
jabooth at gmail.com
Mon Nov 11 03:21:18 EST 2013
Looks like the problem is that you don't have permission to access your
home dir after logout:
OSError: [Errno 13] Permission denied: '/home/chung/.ipython'
Is your home drive encrypted? If so that could definitely be the problem,
On 11 November 2013 03:47, Pantelis Sopasakis <p.sopasakis at gmail.com> wrote:
> Dear all,
> I posted a question related to python-notebook on stackoverflow, please
> 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.
> I connect to the remote server over SSH and I start ipython-notebook using
> the commands:
> screen -S ipy
> ipython notebook --ip='*' ---pylab=inline --port=7777
> So far so good - everything works excellently server-side and client-side
> (not only on my computer, but also from other clients).
> I then detach the screen (still everything OK) and then I log out from
> SSH. Then, I can connect to the remote server at
> http://someserver.sth:7777, 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):
> The strange this is that when I reconnect everything works smoothly again,
> and in particular I am receiving the following log messages:
> [NotebookApp] Using existing kernel: 1d102222-d480-4543-a0d9-628599fc3e6b
> [NotebookApp] Connecting to: tcp://127.0.0.1:44393
> [NotebookApp] Connecting to: tcp://127.0.0.1:50684
> [NotebookApp] Connecting to: tcp://127.0.0.1:45910
> [NotebookApp] Using existing profile dir:
> [NotebookApp] Changing to working dir: /home/chung
> (the last line may be of particular interest).
> Of course keeping an open SSH connection to the server is not a solution…
> Could someone provide some hint? Any help is greatly appreciated.
> Best regards,
> Pantelis Sopasakis
> IPython-dev mailing list
> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev