SHA256
1
0
forked from pool/xinit
xinit/xinit-tolerant-hostname-changes.diff

13 lines
474 B
Diff

Index: xinit-1.3.0/startx.cpp
===================================================================
--- xinit-1.3.0.orig/startx.cpp
+++ xinit-1.3.0/startx.cpp
@@ -422,6 +422,7 @@ fi
XCOMM handle TCP port 6000
test "$DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN" != "yes" && \
serverargs="$serverargs -nolisten tcp"
+export XAUTHLOCALHOSTNAME=`hostname`
#if defined(__APPLE__) || defined(__CYGWIN__)
eval XINIT \"$client\" $clientargs -- \"$server\" $display $serverargs