~lightdm-team/lightdm/1.4

« back to all changes in this revision

Viewing changes to src/display-manager.c

  • Committer: Robert Ancell
  • Date: 2011-05-23 07:19:49 UTC
  • Revision ID: robert.ancell@canonical.com-20110523071949-gq6t1jbufx4dk7co
Fix XDMCP authentication/authorization errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
590
590
            g_free (key);
591
591
        }
592
592
        else
593
 
        {
594
 
            XAuthorization *authorization = xauth_new_cookie ();
595
 
            xdmcp_server_set_authorization (manager->priv->xdmcp_server,
596
 
                                            xauth_get_authorization_name (authorization),
597
 
                                            xauth_copy_authorization_data (authorization),
598
 
                                            xauth_get_authorization_data_length (authorization));
599
 
            g_object_unref (authorization);
600
 
        }
 
593
            xdmcp_server_set_authorization (manager->priv->xdmcp_server, "MIT-MAGIC-COOKIE-1", NULL, 0);
601
594
 
602
595
        g_debug ("Starting XDMCP server on UDP/IP port %d", xdmcp_server_get_port (manager->priv->xdmcp_server));
603
596
        xdmcp_server_start (manager->priv->xdmcp_server);