--- ./slave.c	2006/05/02 23:46:17	1.1
+++ ./slave.c	2006/05/03 00:40:20
@@ -4762,12 +4762,17 @@ gdm_slave_handle_usr2_message (void)
 	char **vec;
 	int i;
 
+	gdm_debug ("%s on display %s: about to read from slave fd", __func__, d->name);
 	VE_IGNORE_EINTR (count = read (d->slave_notify_fd, buf, sizeof (buf) -1));
+	gdm_debug ("%s on display %s: read %d bytes from slave fd", __func__, d->name, count);
 	if (count <= 0) {
 		return;
 	}
 
 	buf[count] = '\0';
+	gdm_debug ("%s on display %s: message is:", __func__, d->name);
+	gdm_debug ("%s", buf);
+	gdm_debug ("%s on display %s: end of message", __func__, d->name);
 
 	vec = g_strsplit (buf, "\n", -1);
 	if (vec == NULL) {
