--- programs/xinit/startx.cpp.orig	Fri Dec 23 18:17:27 2005
+++ programs/xinit/startx.cpp	Fri Dec 23 18:19:43 2005
@@ -105,8 +105,12 @@
 fi
 
 whoseargs="client"
+listen_tcp="-nolisten tcp"
 while [ x"$1" != x ]; do
     case "$1" in
+    -listen_tcp)
+	listen_tcp=""
+	;;
     XCOMM '' required to prevent cpp from treating "/*" as a C comment.
     /''*|\./''*)
 	if [ "$whoseargs" = "client" ]; then
@@ -224,7 +228,7 @@
         XINIT $client $clientargs -- $server $display $serverargs
 fi
 #else
-XINIT $client $clientargs -- $server $display $serverargs
+XINIT $client $clientargs -- $server $display $serverargs $listen_tcp
 #endif
 
 if [ x"$removelist" != x ]; then
--- programs/xinit/startx.man.orig	Fri Dec 23 18:20:17 2005
+++ programs/xinit/startx.man	Fri Dec 23 18:22:59 2005
@@ -47,10 +47,17 @@
 somewhat nicer user interface for running a single session of the X
 Window System.  It is often run with no arguments.
 .PP
-Arguments immediately following the
+Except for the
+.RB '-listen_tcp'
+option, arguments immediately following the
 .I startx
 command are used to start a client in the same manner as
 .IR xinit (1).
+The
+.RB '-listen_tcp'
+option of startx enables the TCP/IP transport type which is needed for remote X
+displays.  This is disabled by default for security reasons.
+.PP
 The special argument
 .RB '--'
 marks the end of client arguments and the beginning of server options.
@@ -71,6 +78,8 @@
 startx -- -dpi 100
 .PP
 startx -- -layout Multihead
+.PP
+startx -listen_tcp -- -depth 16
 .RE
 #ifdef __SCOMAN__
 .PP
