Package: slim
Version: 1.3.4-2
Severity: important
Tags: patch
Dear Maintainer,
I have slim in auto-login and occasionally it does not start (black screen with
a cross)
There are this problem because : dbus start after slim in init script
With this header, slim start correctly
### BEGIN INIT INFO
# Provides: slim
# Required-Start: dbus $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: xfs $named slapd
# Should-Stop: xfs $named slapd
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/stop the SLiM daemon.
### END INIT INFO
Thank you,
Regards
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages slim depends on:
ii consolekit 0.4.5-3.1
ii dbus 1.6.8-1
ii debconf [debconf-2.0] 1.5.49
ii libc6 2.13-38
ii libck-connector0 0.4.5-3.1
ii libdbus-1-3 1.6.8-1
ii libfontconfig1 2.9.0-7.1
ii libfreetype6 2.4.9-1.1
ii libgcc1 1:4.7.2-5
ii libjpeg8 8d-1
ii libpam0g 1.1.3-7.1
ii libpng12-0 1.2.49-1
ii libstdc++6 4.7.2-5
ii libx11-6 2:1.5.0-1
ii libxft2 2.3.1-1
ii libxmu6 2:1.1.1-1
ii libxrender1 1:0.9.7-1
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages slim recommends:
ii xterm 278-4
Versions of packages slim suggests:
pn scrot <none>
ii xauth 1:1.0.7-1
-- Configuration Files:
/etc/init.d/slim changed:
test -z "$HEED_DEFAULT_DISPLAY_MANAGER" && HEED_DEFAULT_DISPLAY_MANAGER=true
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
DAEMON=/usr/bin/slim
PIDFILE=/var/run/slim.lock
SSD_START_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --startas $DAEMON
-- -d"
SSD_STOP_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --retry
TERM/5/TERM/5"
case $1 in
start)
if [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] &&
[ -e $DEFAULT_DISPLAY_MANAGER_FILE ] &&
[ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then
echo "Not starting X display manager (slim); it is not the default
display manager."
else
echo -n "Starting X display manager: slim"
start-stop-daemon --start --quiet $SSD_START_ARGS || echo -n " already
running"
echo "."
fi
;;
stop)
echo -n "Stopping X display manager: slim"
if ! [ -f $PIDFILE ]; then
echo -n " not running ($PIDFILE not found)"
else
start-stop-daemon --stop --quiet $SSD_STOP_ARGS
SSD_RES=$?
if [ $SSD_RES -eq 1 ]; then
echo -n " not running"
fi
if [ $SSD_RES -eq 2 ]; then
echo -n " not responding to TERM signals"
else
if [ -f $PIDFILE ]; then
echo -n " (removing stale $PIDFILE)"
rm $PIDFILE
fi
fi
fi
echo "."
;;
restart)
$0 stop
sleep 2
$0 start
;;
force-reload)
/etc/init.d/slim restart
;;
*)
echo "Usage: /etc/init.d/slim {start|stop|restart|force-reload}"
exit 1
;;
esac
/etc/slim.conf changed:
default_path /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
default_xserver /usr/bin/X11/X
xserver_arguments -nolisten tcp
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console
login" -e /bin/sh -c "/bin/cat /etc/issue.net; exec /bin/login"
xauth_path /usr/bin/X11/xauth
authfile /var/run/slim.auth
login_cmd exec /bin/bash -login /etc/X11/Xsession %session
sessions
default,startxfce4,openbox-session,ion3,icewm,wmaker,blackbox,awesome
screenshot_cmd scrot /root/slim.png
welcome_msg Welcome to %host
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
default_user bourdoiseau
auto_login yes
current_theme debian-joy
lockfile /var/run/slim.lock
logfile /var/log/slim.log
-- debconf information:
slim/daemon_name: /usr/bin/slim
* shared/default-x-display-manager: slim
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]