consolekit timed out during boot up

Asked by Nasa

Hi,

During boot-up Consolekit fails to start correctly, which has a couple of impacts - one it slows the bootup process to a crawl and two it causes some items to not to work immediately upon startup. For example, pulseaudio won't start working for a couple of minutes after the system is logged in (see messages below):

Aug 7 20:51:19 car dbus[638]: [system] Failed to activate service 'org.freedesktop.ConsoleKit': timed out
....
Aug 7 20:51:30 car pulseaudio[1024]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Aug 7 20:51:30 car pulseaudio[1024]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

I guess that Consolekit's faillure is preventing D-bus from working properly which prevents pulseaudio from starting correctly. However, I am unsure of what info would be useful in debugging this.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu consolekit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nasa (tsx-5) said :
#1

Forgot to mention,

This is a ubuntu 12.04 based AMD machine. A copy of the syslog and dmesg is located here:
http://pastebin.com/deiT9RUK

Thanks in advanced.

Revision history for this message
Nasa (tsx-5) said :
#2

After much research, I have found where the problem lies...

I have/had speech-dispatcher installed and configured to run "system wide" (change in /etc/defaults/speech-dispatcher) having misunderstood what the "RUN=false" actually was doing. Running in system mode causes a timing issue between pulseaudio/speech-dispatcher/dbus as speech-dispatcher starts as a service at about the same time as dbus does, and thus starts pulseaudio before dbus seems to be ready for it. Other's have noted similar issue:

http://us.generation-nt.com/answer/bug-625235-speech-dispatcher-combined-pulseaudio-breaks-alsa-help-204432631.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626351
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625235
https://groups.google.com/forum/?fromgroups#!topic/linux.debian.bugs.dist/_zN-NsyNmB4%5B1-25%5D

As I am running only a single user on this machine, it was a relatively simple fix (although it took a LONG time to find the problem) - returned speech-dispatcher to it's default and started it up via user run script.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.