Skip to content

Commit

Permalink
Allow X11 forwarding to docker (over SSH)
Browse files Browse the repository at this point in the history
  • Loading branch information
afbjorklund committed Dec 2, 2017
1 parent 983e08f commit f599009
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile.x11
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,7 @@ RUN set -x && \

RUN sed -e 's|superuser|superuser -a -z "$SUDO_USER"|' -i "$ROOTFS/root/.profile"

RUN set -x && \
( echo "X11Forwarding yes"; echo "X11UseLocalhost no" ) >> "$ROOTFS/usr/local/etc/ssh/sshd_config"

RUN /tmp/make_iso.sh

0 comments on commit f599009

Please sign in to comment.