diff -Nur gnome-screensaver-2.17.7/src/cut-n-paste/gdm-queue.c gnome-screensaver-2.17.7.new/src/cut-n-paste/gdm-queue.c
--- gnome-screensaver-2.17.7/src/cut-n-paste/gdm-queue.c	2007-01-30 17:21:39.000000000 +0100
+++ gnome-screensaver-2.17.7.new/src/cut-n-paste/gdm-queue.c	2007-02-14 11:32:13.000000000 +0100
@@ -43,7 +43,7 @@
  * which lives at a well-known position in the /tmp directory.
  * At some point, it will make sense to switch to something dbus-based.
  */
-#define GDM_SOCKET_FILENAME "/tmp/.gdm_socket"
+#define GDM_SOCKET_FILENAME "/var/run/.gdm_socket"
 
 /* The old gdmcomm routines used to have individual minimum versions
  * for every particular GDM command, but then you have to deal with
