Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Rings:2-TestDVD
gdm
gdm-tcp-listen.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gdm-tcp-listen.patch of Package gdm
From 3f59fa0da5168451898db63e51e312ce894af0c1 Mon Sep 17 00:00:00 2001 From: Nathaniel Roach <nroach44@gmail.com> Date: Tue, 10 Nov 2015 09:11:08 -0500 Subject: Use -listen instead of -nolisten for new Xorg Newer Xorg versions don't listen to tcp sockets by default, so instead of explicitly passing -nolisten to disable tcp sockets by default, we need to explicitly pass -listen to enable tcp sockets when DisallowTCP=false. Older versions don't support the -listen flag, so we check the version and if it's >= 1.17 then we specify -listen tcp Signed-off-by: Nathaniel Roach <nroach44@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=750026 --- configure.ac | 8 ++++++++ daemon/gdm-server.c | 13 +++++++++++++ daemon/gdm-x-session.c | 12 ++++++++++++ 3 files changed, 33 insertions(+) Index: gdm-3.14.2/daemon/gdm-server.c =================================================================== --- gdm-3.14.2.orig/daemon/gdm-server.c +++ gdm-3.14.2/daemon/gdm-server.c @@ -379,8 +379,12 @@ gdm_server_resolve_command_line (GdmServ } #endif - if (server->priv->disable_tcp && ! query_in_arglist) { - argv[len++] = g_strdup ("-nolisten"); + /* If we were compiled with Xserver >= 1.17 we need to specify + * '-listen tcp' as the X server dosen't listen on tcp sockets + * by default anymore. + */ + if (!server->priv->disable_tcp && ! query_in_arglist) { + argv[len++] = g_strdup ("-listen"); argv[len++] = g_strdup ("tcp"); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor