summaryrefslogtreecommitdiff
path: root/debian/patches/xorg-1.17.patch
blob: 0db6cc88d22a36feff287ab01940a3447b7e0b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: The X.org X server 1.17 doesn't listen on TCP by default, we need to pass -listen to enable it
Author: Robert Ancell <robert.ancell@canonical.com>
Bug: https://bugs.launchpad.net/bugs/1449282

=== modified file 'src/x-server-local.c'
Index: trunk/src/x-server-local.c
===================================================================
--- trunk.orig/src/x-server-local.c
+++ trunk/src/x-server-local.c
@@ -534,6 +534,7 @@ x_server_local_start (DisplayServer *dis
     /* Connect to a remote server using XDMCP */
     if (server->priv->xdmcp_server != NULL)
     {
+        g_string_append (command, " -listen tcp");
         if (server->priv->xdmcp_port != 0)
             g_string_append_printf (command, " -port %d", server->priv->xdmcp_port);
         g_string_append_printf (command, " -query %s", server->priv->xdmcp_server);
@@ -547,6 +548,8 @@ x_server_local_start (DisplayServer *dis
     }
     else
         g_string_append (command, " -nolisten tcp");
+    else
+        g_string_append (command, " -listen tcp");
 
     if (server->priv->vt >= 0)
         g_string_append_printf (command, " vt%d -novtswitch", server->priv->vt);