HenryHu
July 29th, 2007, 04:37 PM
I got the "dbus_bus_get" error when I was using beryl, and it also happens in compiz.
The error message contains: Failed to execute dbus-launch to autolaunch D-Bus session
The problem is that dbus waitpid for the new dbus-launch process, but compiz also waitpid for any child process when it receives SIGCHLD, so dbus's waitpid returned -1 for that the process dbus was waiting had been "waited" by compiz, and then dbus think that the child process has not terminated ( For that the returned status by waitpid said that... In fact, waitpid didn't find any process to wait for, so the returned status is meaningless...)
My workaround is disabling the SIGCHLD signal processing of compiz, but I think there should be a better solution..
Sorry for my poor english...
The error message contains: Failed to execute dbus-launch to autolaunch D-Bus session
The problem is that dbus waitpid for the new dbus-launch process, but compiz also waitpid for any child process when it receives SIGCHLD, so dbus's waitpid returned -1 for that the process dbus was waiting had been "waited" by compiz, and then dbus think that the child process has not terminated ( For that the returned status by waitpid said that... In fact, waitpid didn't find any process to wait for, so the returned status is meaningless...)
My workaround is disabling the SIGCHLD signal processing of compiz, but I think there should be a better solution..
Sorry for my poor english...