jupyter-desktop-server icon indicating copy to clipboard operation
jupyter-desktop-server copied to clipboard

Installation Instructions

Open hakasapl opened this issue 5 years ago • 5 comments

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.

hakasapl avatar Nov 29 '19 04:11 hakasapl

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

djangoliv avatar Feb 14 '20 10:02 djangoliv

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

manics avatar Feb 14 '20 12:02 manics

Thanks @manics but the command is still not launched

Don't I miss other instructions ? (maybe in the jupyterhub_config.py?)

djangoliv avatar Feb 14 '20 14:02 djangoliv

Can someone kindly tell me how to start a VNC session after installation?

codinesh1795 avatar Apr 18 '20 15:04 codinesh1795

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:

image

which opens a new window with the VNC session. Hope this helps...

mjuric avatar Jun 28 '20 08:06 mjuric