jupyter-desktop-server
jupyter-desktop-server copied to clipboard
Installation Instructions
Hello,
I'm working on getting this to work in an HPC computing cluster I am working on. I installed the PyPi package in this repo, but I am unsure of how to get this working other than that. I am running jupyterhub and jupyterlab. Is this compatible with jupyterlab version 1.1.3?
I'm also a little confused about exactly how to use this. Would it be possible to add more info in the readme?
My hopes are to run GUI applications within jupyterlab, either a desktop environment or a vnc session to a specific application.
Any info would be greatly appreciated, thanks for your time.
Hello,
I tried to install jupyter-desktop-server like this:
python3 -m pip install --no-cache -U websockify jupyter-server-proxy
git clone https://github.com/yuvipanda/jupyter-desktop-server
cd jupyter-desktop-server
python3 -m pip install ./jupyter-desktop-server
But the websockify command is not launched. Are there any instructions missing ?
Regards
Unfortunately installing websockify from pypi does not currently include the compiled library that wraps the VNCserver. If you install websockify from conda the library is included. See for example https://github.com/yuvipanda/jupyter-desktop-server/blob/master/environment.yml
Thanks @manics but the command is still not launched
Don't I miss other instructions ? (maybe in the jupyterhub_config.py?)
Can someone kindly tell me how to start a VNC session after installation?
FWIW, I was also super-confused early on about how to get started. Here's a minimal(ish) Dockerfile I came up with after some reading, that may be useful for those who are unfamiliar with repo2docker, binder, etc.:
FROM jupyter/datascience-notebook:latest
USER root
RUN apt-get -y update && apt-get install -y dbus-x11 firefox xfce4 xfce4-panel xfce4-session xfce4-settings xorg xubuntu-icon-theme
USER $NB_USER
RUN conda install -c manics websockify
RUN pip install jupyter-desktop-server
After you build it, run the image & connect to http://127.0.0.1:8888/?token=xxxxxx. as instructed, the desktop option shows up in:
which opens a new window with the VNC session. Hope this helps...