summaryrefslogtreecommitdiff
path: root/daemon/gdm-xdmcp-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/gdm-xdmcp-display.c')
-rw-r--r--daemon/gdm-xdmcp-display.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/daemon/gdm-xdmcp-display.c b/daemon/gdm-xdmcp-display.c
index be2f0d58..b98f6b18 100644
--- a/daemon/gdm-xdmcp-display.c
+++ b/daemon/gdm-xdmcp-display.c
@@ -174,6 +174,12 @@ gdm_xdmcp_display_prepare (GdmDisplay *display)
g_object_unref (launch_environment);
}
+ if (!gdm_display_create_authority (display)) {
+ g_warning ("Unable to set up access control for display %s",
+ display_name);
+ return FALSE;
+ }
+
return GDM_DISPLAY_CLASS (gdm_xdmcp_display_parent_class)->prepare (display);
}