88c7d3697c
- make the *beep* sounds work - install the Xsession script with the executable bit, so gdm won't try to start gnome in failsafe mode. as reported by several users. tested by fkr@
13 lines
443 B
Plaintext
13 lines
443 B
Plaintext
$OpenBSD: patch-daemon_gdm-net_c,v 1.5 2007/11/27 20:26:13 jasper Exp $
|
|
--- daemon/gdm-net.c.orig Mon Oct 15 23:43:04 2007
|
|
+++ daemon/gdm-net.c Sat Oct 27 17:09:35 2007
|
|
@@ -456,7 +456,7 @@ gdm_connection_open_fifo (const char *fifo, mode_t mod
|
|
return NULL;
|
|
}
|
|
|
|
- fd = open (fifo, O_RDWR); /* Open with write to avoid EOF */
|
|
+ fd = open (fifo, O_NONBLOCK|O_RDONLY);
|
|
|
|
if G_UNLIKELY (fd < 0) {
|
|
gdm_error (_("%s: Could not open FIFO"),
|