[Community] [Gta04-owner] QtMoko v49

Neil Jerram neil at ossau.homelinux.net
Sun Nov 18 16:24:15 CET 2012


Radek Polak <psonek2 at seznam.cz> writes:

> Hi,
> can you please try:
>
> 	killall pulse.sh
> 	killall pulseaudio
> 	. /opt/qtmoko/qpe.env
> 	pulseaudio
>
> Does it start? My output is like this:
>
> root at neo:/root# killall pulse.sh
> root at neo:/root# killall pulseaudio
> root at neo:/root# . /opt/qtmoko/qpe.env
> root at neo:/root# pulseaudio
> W: main.c: This program is not intended to be run as root (unless --system is 
> specified).
> W: main.c: Unable to contact D-Bus: 
> org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated 
> abnormally with the following error: Autolaunch error: X11 initialization 
> failed.
> W: ratelimit.c: 15 events suppressed

root at neo:~# /etc/init.d/sysklogd start
Starting system log daemon....
root at neo:~# tail -f /var/log/messages 
Nov 18 15:11:43 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:43 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:43 neo pulse.sh: Starting pulseaudio
Nov 18 15:11:43 neo pulse.sh: W: main.c: This program is not intended to be run as root (unless --system is specified).
Nov 18 15:11:44 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Nov 18 15:11:44 neo pulse.sh: E: module.c: Failed to load  module "module-console-kit" (argument: ""): initialization failed.
Nov 18 15:11:44 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:44 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:44 neo pulse.sh: Starting pulseaudio
Nov 18 15:11:44 neo pulse.sh: W: main.c: This program is not intended to be run as root (unless --system is specified).
Nov 18 15:11:44 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Nov 18 15:11:44 neo pulse.sh: E: module.c: Failed to load  module "module-console-kit" (argument: ""): initialization failed.
Nov 18 15:11:44 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:44 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:44 neo pulse.sh: Starting pulseaudio
Nov 18 15:11:45 neo pulse.sh: W: main.c: This program is not intended to be run as root (unless --system is specified).
Nov 18 15:11:45 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Nov 18 15:11:45 neo pulse.sh: E: module.c: Failed to load  module "module-console-kit" (argument: ""): initialization failed.
Nov 18 15:11:45 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:45 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:45 neo pulse.sh: Starting pulseaudio
Nov 18 15:11:45 neo pulse.sh: W: main.c: This program is not intended to be run as root (unless --system is specified).
Nov 18 15:11:46 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Nov 18 15:11:46 neo pulse.sh: E: module.c: Failed to load  module "module-console-kit" (argument: ""): initialization failed.
Nov 18 15:11:46 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:46 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:46 neo pulse.sh: Starting pulseaudio
^C
root at neo:~# killall pulse.sh
root at neo:~# killall pulseaudio
pulseaudio: no process found
root at neo:~# ps wuax | grep pulse
root      2755  0.0  0.1   1864   580 pts/0    S+   15:12   0:00 grep pulse
root at neo:~# . /opt/qtmoko/qpe.env 
root at neo:/root# pulseaudio 
W: main.c: This program is not intended to be run as root (unless --system is specified).
E: module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
E: module.c: Failed to load  module "module-console-kit" (argument: ""): initialization failed.
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.
root at neo:/root# 

> I see the difference is in "E: module-console-kit.c". Can you try comment out 
> the line "load-module module-console-kit" in /etc/pulse/default.pa?

root at neo:/root# nano /etc/pulse/default.pa 
root at neo:/root# pulseaudio 
W: main.c: This program is not intended to be run as root (unless --system is specified).
W: main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
W: ratelimit.c: 15 events suppressed

OK, this is looking better now.  After a reboot, responsiveness is back
to normal and I can play media.

Thanks,
        Neil



More information about the community mailing list