Comment 14 for bug 276857

Revision history for this message
Bryce Harrington (bryce) wrote : Re: On reboot X requires restart because mouse and keyboard are unresponsive

xserver: config/hal.c:

    if (!libhal_ctx_set_dbus_connection(info->hal_ctx, info->system_bus)) {
        LogMessage(X_ERROR, "config/hal: couldn't associate HAL context with bus\n");
        goto out_ctx;
    }
    if (!libhal_ctx_init(info->hal_ctx, &error)) {
        LogMessage(X_ERROR, "config/hal: couldn't initialise context: %s (%s)\n",
               error.name, error.message);
        goto out_ctx;
    }

libhal_ctx_init is failing; there are 5 conditions under which it returns false. Probably you want to install a debug version of hal, break on libhal_ctx_init(), and see which of the conditions are getting hit.

My guess is that either dbus_bus_name_has_owner() or dbus_connection_add_filter() are failing.