From 86eabda48888eff5e3682bb878aee11b41efe866 Mon Sep 17 00:00:00 2001 From: Defman21 Date: Wed, 3 May 2017 13:56:11 +0300 Subject: [PATCH] Docker: fixed X11 forwarding failure on Arch Linux Signed-off-by: Defman21 --- util/docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/docker/Dockerfile b/util/docker/Dockerfile index 548a2f58dc..defd9cb4b5 100644 --- a/util/docker/Dockerfile +++ b/util/docker/Dockerfile @@ -26,5 +26,7 @@ RUN chown root:root /root/.ssh/authorized_keys ADD id_rsa.pub /root/.ssh/authorized_keys2 RUN chown root:root /root/.ssh/authorized_keys2 +RUN echo "X11UseLocalhost no" >> /etc/ssh/sshd_config + # start the ssh daemon CMD ["/usr/sbin/sshd", "-D"]