История изменений
Исправление Zubok, (текущая версия) :
А что за дистрибутив? В Debian, например, dbus-launch можно запустить в /etc/X11/Xsession. Вообще, это по умолчанию так:
/etc/X11/Xsession.d/75dbus_dbus-launch:
# $Id:$
# In order to activate the session bus at X session launch
# simply place use-session-dbus into your /etc/X11/Xsession.options file
#
STARTDBUS=
DBUSLAUNCH=/usr/bin/dbus-launch
if has_option use-session-dbus; then
if [ -x "$DBUSLAUNCH" ]; then
STARTDBUS=yes
fi
fi
if [ -n "$STARTDBUS" ]; then
STARTUP="$DBUSLAUNCH --exit-with-session $STARTUP"
fi
А в /etc/X11/Xsession.option (последняя строчка):
# $Id: Xsession.options 189 2005-06-11 00:04:27Z branden $
#
# configuration options for /etc/X11/Xsession
# See Xsession.options(5) for an explanation of the available options.
allow-failsafe
allow-user-resources
allow-user-xsession
use-ssh-agent
use-session-dbus
Исходная версия Zubok, :
А что за дистрибутив? В Debian, например, dbus-launch можно запустить в /etc/X11/Xsession. Вообще, это по умолчанию:
/etc/X11/Xsession.d/75dbus_dbus-launch:
# $Id:$
# In order to activate the session bus at X session launch
# simply place use-session-dbus into your /etc/X11/Xsession.options file
#
STARTDBUS=
DBUSLAUNCH=/usr/bin/dbus-launch
if has_option use-session-dbus; then
if [ -x "$DBUSLAUNCH" ]; then
STARTDBUS=yes
fi
fi
if [ -n "$STARTDBUS" ]; then
STARTUP="$DBUSLAUNCH --exit-with-session $STARTUP"
fi
А в /etc/X11/Xsession.option (последняя строчка):
# $Id: Xsession.options 189 2005-06-11 00:04:27Z branden $
#
# configuration options for /etc/X11/Xsession
# See Xsession.options(5) for an explanation of the available options.
allow-failsafe
allow-user-resources
allow-user-xsession
use-ssh-agent
use-session-dbus