gdm + dbus
Patryk Zawadzki
patrys w pld-linux.org
Pon, 17 Wrz 2007, 15:04:17 CEST
Może ktoś pomóc? gdm z DEVEL zbudowany z obsługą ConsoleKit ma problem
z połączeniem się z DBUS:
Sep 17 14:22:17 meaw gdm-binary[7396]: DEBUG: ConsoleKit: Opening
session for patrys
Sep 17 14:22:17 meaw gdm-binary[7396]: DEBUG: ConsoleKit: Failed to
connect to the D-Bus daemon: Did not receive a reply. Possible causes
include: the remote application did not send a reply, the message bus
security policy blocked the reply, the reply timeout expired, or the
network connection was broken.
Kod, który to robi (daemon/gdmconsolekit.c @ 400):
DBusConnection *connection;
DBusError error;
DBusMessage *message;
DBusMessage *reply;
DBusMessageIter iter;
DBusMessageIter iter_struct;
char *cookie;
cookie = NULL;
gdm_debug ("ConsoleKit: Opening session for %s", pwent->pw_name);
dbus_error_init (&error);
connection = dbus_bus_get_private (DBUS_BUS_SYSTEM, &error);
private_connection = connection;
if (connection == NULL) {
gdm_debug ("ConsoleKit: Failed to connect to the D-Bus
daemon: %s", error.message);
dbus_error_free (&error);
return NULL;
}
Jakaś pomoc? qboosh?
--
Patryk Zawadzki
Generated Content
Więcej informacji o liście dyskusyjnej pld-devel-pl