Comment 0 for bug 232364

Revision history for this message
In , Dmueller (dmueller) wrote :

on rudi's machine, x applications hang if started via

dbus-launch --sh-syntax --exit-with-session ..

this code comes from

/etc/X11/xinit/xinitrc.common

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

the dbus-launch binary is apparently the cause for that. if you remove that code it works just fine.