summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--startx.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/startx.cpp b/startx.cpp
index 2dda9e1..92e5bad 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -105,6 +105,8 @@ fi
if [ x`defaults read $X11_PREFS_DOMAIN nolisten_tcp` = x1 ] ; then
defaultserverargs="$defaultserverargs -nolisten tcp"
+else
+ defaultserverargs="$defaultserverargs -listen tcp"
fi
XCOMM The second check is the real one. The first is to hopefully avoid