2011-12-22, 13:47
cbxbiker61 Wrote:Here's a list of dbus processes on a working system. Notice there's a process started with "--system" and one started with "--session". I don't think your "--session" dbus is being started based on your errors.
Are you running in a windowing environment like Kde/Gnome/Xfce? Those environments have the responsibility of starting the "--session" dbus. A standard PulseAudio installation requires that the "--session" dbus is running.
ps aux | grep dbus
81 1984 0.2 0.0 20148 2036 ? Ss Dec19 8:53 /usr/bin/dbus-daemon --system --address=systemd: --nofork --systemd-activation
jammin 2471 0.0 0.0 26412 840 ? S Dec19 0:00 dbus-launch --sh-syntax --exit-with-session
jammin 2475 0.0 0.0 21368 2072 ? Ss Dec19 0:20 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
Hi,
thanks for your reply.
I am running a fresh installation of Ubuntu 11.04 server 64 bit.
On top of that I just installed a compiled version of XBMC from your git, audiofilter and pulseaudio.
Nothing more.
Here is my ps aux | grep after a fresh reboot:
Code:
xbmc@xbmc-eden:~$ ps aux | grep dbus
106 731 0.0 0.0 23888 1232 ? Ss 12:29 0:00 dbus-daemon --system --fork --activation=upstart
Then after *manually* launching: dbus-launch --sh-syntax --exit-with-session
Code:
xbmc@xbmc-eden:~$ dbus-launch --sh-syntax --exit-with-session
DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-GoGW2caFNX,guid=3151edee5d47dd89a2df6cb900000078';
export DBUS_SESSION_BUS_ADDRESS;
DBUS_SESSION_BUS_PID=1507;
Now ps aux is:
Code:
xbmc@xbmc-eden:~$ ps aux | grep dbus
106 731 0.0 0.0 23888 1232 ? Ss 12:29 0:00 dbus-daemon --system --fork --activation=upstart
xbmc 1506 0.0 0.0 17968 380 pts/0 S 12:31 0:00 dbus-launch --sh-syntax --exit-with-session
But still the same error:
Code:
xbmc@xbmc-eden:~/source/pulseaudio-1.1$ ./src/pulseaudio -n -F src/default.pa -p $(pwd)/src/.libs/
N: [lt-pulseaudio] daemon-conf.c: Detected that we are run from the build tree, fixing search path.
E: [lt-pulseaudio] module-jackdbus-detect.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: //bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
E: [lt-pulseaudio] module.c: Failed to load module "module-jackdbus-detect" (argument: ""): initialization failed.
E: [lt-pulseaudio] main.c: Module load failed.
W: [lt-pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: //bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
W: [lt-pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: //bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
Any other suggestion?
Should you have time, you can SSH into my machine to see if there any problem with it.
EDIT: one more thing: in tty7 (the XBMC) after shutting down XBMC, I get the following line:
* PulseAudio configured for per-user sessions
(the asterisk is yellow)