https://bugzilla.novell.com/show_bug.cgi?id=229632 knweiss@science-computing.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |knweiss@science-computing.de ------- Comment #12 from knweiss@science-computing.de 2007-05-08 06:32 MST ------- I can 100% reproduce this bug even with user root, bash and a KDE session: Each X login creates a new dbus-daemon session process even though there still exists the process from the old session (which wasn't terminated even though dbus was call with --exit-with-session). I'm no D-Bus export but I'm wondering how the dbus launch is supposed to work. This is from /etc/X11/xinit/xinitrc.common: # # Launch dbus if no session is activ or if the session is not reachable # if dbuslaunch="$(type -p dbus-launch)" && dbussend="$(type -p dbus-send)" ; then dbustest () { $dbussend --session --type=method_call \ --dest='org.freedesktop.DBus' \ /org/freedesktop/DBus \ org.freedesktop.DBus.NameHasOwner \ string:'org.freedesktop.DBus' > /dev/null 2>&1 } if test -z "$DBUS_SESSION_BUS_ADDRESS" || ! dbustest ; then WINDOWMANAGER="$dbuslaunch --sh-syntax --exit-with-session $WINDOWMANAGER" fi fi unset dbuslaunch dbussend dbustest Later on there finally is a "exec $WINDOWMANAGER". Question: How can DBUS_SESSION_BUS_ADDRESS here in this environment ever be NOT the empty string so that no new dbus session daemon gets launched during login? Please notice that the output of dbus-launch (which sets DBUS_SESSION_BUS_ADDRESS in sh syntax) is not evaluated. So is it a bug that the old dbus session daemon doesn't get terminated on logout or is it a bug that a new daemon gets started even though an old daemon still exists. Or both? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.