File xinit-tolerant-hostname-changes.diff of Package xinit

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
openSUSE Build Service is sponsored by