# HG changeset patch # User Christophe Lincoln # Date 1399309113 -7200 # Node ID b14f03e7493f297e3e029e9442375062be9d9045 # Parent 27c455a9f7acedc2496e13505f87b27cb97c7549 Start Dbus daemon befor X = fix a part of automounting issue and Skype dbus errors diff -r 27c455a9f7ac -r b14f03e7493f etc/init.d/rcS --- a/etc/init.d/rcS Fri May 02 22:12:22 2014 +0200 +++ b/etc/init.d/rcS Mon May 05 18:58:33 2014 +0200 @@ -178,15 +178,18 @@ /etc/init.d/$script done -# Start X session -if [ "$SCREEN" != "text" ] && [ "$LOGIN_MANAGER" ] && [ -x "/etc/init.d/$LOGIN_MANAGER" ]; then +# Start X session. Dbus must be started before Xorg and other daemons. +# We started it here because X is run before RUN_DAEMONS. Sleep, in +# some in live mode we boot too fast and X can't initialize. +if [ "$SCREEN" != "text" ] && [ "$LOGIN_MANAGER" ] && \ + [ -x "/etc/init.d/$LOGIN_MANAGER" ]; then colorize 36 "Starting X environment..." # We need Xorg 40-Keyboard.conf and SliTaz applications.conf if [ ! -s "/etc/X11/xorg.conf.d/40-Keyboard.conf" ]; then echo "Configuring Xorg server..." && HOME="/root" tazx init fi - #/etc/init.d/dbus start + /etc/init.d/dbus start (sleep 2; /etc/init.d/${LOGIN_MANAGER} start >/dev/null) & fi