We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2860df0 commit b117afeCopy full SHA for b117afe
Dockerfile.x11
@@ -91,7 +91,8 @@ RUN sed -e 's|superuser|superuser -a -z "$SUDO_USER"|' -i "$ROOTFS/root/.profile
91
COPY boot2docker.png "$ROOTFS/usr/local/share/pixmaps/logo.png"
92
93
RUN set -x && \
94
- ( echo 'test -n "$DISPLAY" || DISPLAY=:0'; echo 'export DISPLAY' ) >> "$ROOTFS/etc/skel/.profile"
+ ( echo 'test -n "$DISPLAY" || DISPLAY=:0'; echo 'export DISPLAY' ) >> "$ROOTFS/etc/skel/.profile"; \
95
+ ( echo 'xset m 1/1' ) >> "$ROOTFS/etc/skel/.xinitrc"
96
97
98
sed -e '/^#X11Forwarding/a X11Forwarding yes' -i "$ROOTFS/usr/local/etc/ssh/sshd_config.orig"; \
0 commit comments