Skip to content

Commit

Permalink
MAINT: windows: xauth may resolve localhost
Browse files Browse the repository at this point in the history
Fixes #228
  • Loading branch information
Blake Caldwell committed Oct 1, 2020
1 parent 330677d commit 21ce8e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/docker_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21ce8e6

Please sign in to comment.