Index: src/gpm-manager.c
===================================================================
--- src/gpm-manager.c	(Revision 3137)
+++ src/gpm-manager.c	(Arbeitskopie)
@@ -418,6 +418,38 @@
 }
 
 /**
+ * gpm_manager_action_interactive:
+ * @manager: this class instance
+ **/
+static gboolean
+gpm_manager_action_interactive (GpmManager *manager)
+{
+	DBusGConnection *connection;
+	DBusGProxy *proxy;
+	GError *error = NULL;
+	
+	connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
+	if (connection == NULL) {
+		if (error) {
+			egg_warning ("Couldn't connect to PowerManager %s",
+				     error->message);
+			g_error_free (error);
+		}
+		return FALSE;
+	}
+
+	proxy = dbus_g_proxy_new_for_name (connection,
+					   "org.gnome.SessionManager",
+					   "/org/gnome/SessionManager",
+					   "org.gnome.SessionManager");
+	dbus_g_proxy_call_no_reply (proxy, "Shutdown", 
+				 G_TYPE_INVALID,
+				 G_TYPE_INVALID);
+	g_object_unref (proxy);
+	return TRUE;	
+}
+
+/**
  * manager_policy_do:
  * @manager: This class instance
  * @policy: The policy that we should do, e.g. "suspend"
@@ -467,7 +499,8 @@
 					_("GNOME interactive logout."), reason);
 		gnome_client_request_save (gnome_master_client (),
 					   GNOME_SAVE_GLOBAL,
-					   TRUE, GNOME_INTERACT_ANY, FALSE, TRUE);
+					   FALSE, GNOME_INTERACT_ANY, FALSE, TRUE);
+		gpm_manager_action_interactive(manager);
 	} else {
 		egg_warning ("unknown action %s", action);
 	}
