Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add xhost configuration #903

Merged
merged 1 commit into from
Jun 8, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions docs/kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,14 @@ Live Webkit window

To view Live Webkit window with web inspector when Splash-Jupyter is executed
from Docker, you will need to pass additional docker parameters to share the
host system's X server with the docker container, and use the ``--disable-xvfb``
command line flag::
host system's X server with the docker container

First you need allow docker to connect to the X server, using::

$ xhost +local:docker

And then use the ``--disable-xvfb``
command line flag to run Splash-Jupyter::

$ docker run -e DISPLAY=unix$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
Expand All @@ -78,7 +84,7 @@ command line flag::

.. note::

The command above is tested on Linux.
The command above is tested on Linux.

From Notebook to HTTP API
-------------------------
Expand Down