From 21ce8e6aca9a07c83fdc089a5ce076baaac9a334 Mon Sep 17 00:00:00 2001 From: Blake Caldwell Date: Fri, 18 Sep 2020 08:06:43 -0400 Subject: [PATCH] MAINT: windows: xauth may resolve localhost Fixes #228 --- scripts/docker_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docker_functions.sh b/scripts/docker_functions.sh index e976a2100..991044fd1 100644 --- a/scripts/docker_functions.sh +++ b/scripts/docker_functions.sh @@ -2077,7 +2077,7 @@ function set_local_display_from_port { # no arguments # set DISPLAY for local actions (e.g. generating xauth keys) if [[ "$OS" =~ "windows" ]]; then - DISPLAY="localhost:$__port" + DISPLAY="127.0.0.1:$__port" elif [[ "$OS" =~ "mac" ]]; then DISPLAY=":$__port" else