xinit/xinit-tolerant-hostname-changes.patch

13 lines
398 B
Diff
Raw Normal View History

Index: xinit-1.4.3/startx.cpp
===================================================================
--- xinit-1.4.3.orig/startx.cpp
+++ xinit-1.4.3/startx.cpp
@@ -412,6 +412,7 @@ fi
XCOMM handle TCP port 6000
test "$DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN" != "yes" && \
serverargs="$serverargs -nolisten tcp"
+export XAUTHLOCALHOSTNAME=`hostname`
case "$(uname -s)" in
CYGWIN_NT*|Darwin)