Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Installation Instructions #11

Open
hakasapl opened this issue Nov 29, 2019 · 5 comments
Open

Installation Instructions #11

hakasapl opened this issue Nov 29, 2019 · 5 comments

Comments

@hakasapl
Copy link

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.

@djangoliv
Copy link

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

@manics
Copy link
Collaborator

manics commented Feb 14, 2020

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

@djangoliv
Copy link

djangoliv commented Feb 14, 2020

Thanks @manics but the command is still not launched

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

@codinesh1795
Copy link

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

@mjuric
Copy link

mjuric commented Jun 28, 2020

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...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants