File gdm-always-send-xdmcp-keep-alive.patch of Package gdm.16051

From dcd4e2fcbcbe83667560f33030232e7af83f311d Mon Sep 17 00:00:00 2001
From: Felix Zhang <fezhang@suse.com>
Date: Fri, 5 Aug 2016 15:38:32 +0800
Subject: [PATCH] always send xdmcp keep alive

---
 daemon/gdm-xdmcp-display-factory.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/daemon/gdm-xdmcp-display-factory.c b/daemon/gdm-xdmcp-display-factory.c
index b392879..949845c 100644
--- a/daemon/gdm-xdmcp-display-factory.c
+++ b/daemon/gdm-xdmcp-display-factory.c
@@ -2788,7 +2788,10 @@ gdm_xdmcp_send_alive (GdmXdmcpDisplayFactory *factory,
         header.length = 5;
 
         XdmcpWriteHeader (&factory->priv->buf, &header);
+        /* bsc#984620: always send xdmcp session running
         XdmcpWriteCARD8 (&factory->priv->buf, send_running);
+         */
+        XdmcpWriteCARD8 (&factory->priv->buf, 1);
         XdmcpWriteCARD32 (&factory->priv->buf, send_sessid);
 
         XdmcpFlush (factory->priv->socket_fd,
-- 
2.6.6