summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2016-05-28 13:47:01 -0700
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2016-05-28 13:47:11 -0700
commit208a47e0d8f62e7c77fa42137511de890feea7fe (patch)
treee951aaf2bf049ed5c3b3aa9c5c880e4b1267f7fc
parent72160c42bea2073bf95c01aca59a12f0ca7ab707 (diff)
startx: Add -listen tcp if nolisten_tcp is disabled for XQuartz
https://bugs.freedesktop.org/show_bug.cgi?id=95379 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-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