Xpra for JupyterLab
Project description
jupyter-xprahtml5-proxy
Integrate Xpra in your Jupyter environment for an fast, feature-rich and easy to use remote desktop in the browser.
Requirements
- Python 3.6+
- Jupyter Notebook 6.0+
- JupyterLab 2.1+
This package executes the xpra
command. This command assumes the xpra
command is available in the environment's PATH.
Xpra
Xpra is an open-source multi-platform persistent remote display solution for forwarding applications and desktop screens. It allows you to run X11 programs, usually on a remote host, and direct their display to your local machine.
Best of it. It is fast, fast, fast and comes with a build-in html5 client to allow remote.
Jupyter-Server-Proxy
Jupyter-Server-Proxy lets you run arbitrary external processes (such as Xpra-HTML5) alongside your notebook, and provide authenticated web access to them.
Install
Create and Activate Environment
virtualenv -p python3 venv
source venv/bin/activate
Install jupyter-xprahtml5-proxy
pip install git+https://github.com/FZJ-JSC/jupyter-xprahtml5-proxy.git
Enable jupyter-xprahtml5-proxy Extensions
For Jupyter Classic, activate the jupyter-server-proxy extension:
jupyter serverextension enable --sys-prefix jupyter_server_proxy
For Jupyter Lab, install the @jupyterlab/server-proxy extension:
jupyter labextension install @jupyterlab/server-proxy
jupyter lab build
Start Jupyter Classic or Jupyter Lab
Click on the Xpra icon from the Jupyter Lab Launcher or the Xpra item from the New dropdown in Jupyter Classic.
Connect to your database as instructed in the Quickstart section.
Configuration
This package calls xpra
with a bunch of settings. Please read the Xpra manual if you want to now the details.
You have to modify setup_xprahtml5()
in jupyter_xprahtml5_proxy/__init__.py
for change.
Credits
- Xpra
- jupyter-server-proxy
License
BSD 3-Clause
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for jupyter-xprahtml5-proxy-0.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22fa0138d2ec0c5d96eab91ce1cbac0ca1685135800ef6f2da702fd48238d189 |
|
MD5 | 9652a5810b06562e079c7dfdedea4f52 |
|
BLAKE2b-256 | 74efcfe2e5a11a20f0a9f1b67919e683e0978ceb919133c334b8ff5d03f2092c |