Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
gdm.7757
gdm-tcp-listen.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gdm-tcp-listen.patch of Package gdm.7757
diff --git a/daemon/gdm-server.c b/daemon/gdm-server.c index 91a04e6..5373db7 100644 --- a/daemon/gdm-server.c +++ b/daemon/gdm-server.c @@ -355,8 +355,13 @@ gdm_server_resolve_command_line (GdmServer *server, query_in_arglist = TRUE; } - 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. In older versions we need to pass + * -nolisten tcp to disable listening on tcp sockets. + */ + 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