Package: slim
Version: 1.3.6-4
Severity: important
Dear Maintainer,
We have a multiuser setup, so multiple accounts can log into multiple machines
simultaneously.
If an user logs into a machine, then into another, and then goes back to the
first one, he lost the X. Reason is .Xauthority is not appended and the cookie
was overriden so only the second machine is in it.
-- System Information:
Debian Release: 8.5
APT prefers stable
APT policy: (900, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages slim depends on:
ii dbus 1.8.20-0+deb8u1
ii debconf [debconf-2.0] 1.5.56
ii libc6 2.19-18+deb8u4
ii libfontconfig1 2.11.0-6.3
ii libfreetype6 2.5.2-3+deb8u1
ii libgcc1 1:4.9.2-10
ii libjpeg62-turbo 1:1.3.1-12
ii libpam0g 1.1.8-3.1+deb8u1+b1
ii libpng12-0 1.2.50-2+deb8u2
ii libstdc++6 4.9.2-10
ii libx11-6 2:1.6.2-3
ii libxext6 2:1.3.3-1
ii libxft2 2.3.2-1
ii libxmu6 2:1.1.2-1
ii libxrandr2 2:1.4.2-1+b1
ii libxrender1 1:0.9.8-1+b1
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages slim recommends:
ii xterm 312-2
Versions of packages slim suggests:
ii scrot 0.8-13
ii xauth 1:1.0.9-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
NAME="slim"
DESC="X 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"
test -x $DAEMON || exit 0
. /lib/lsb/init-functions
case $1 in
start)
if [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] &&
[ -e $DEFAULT_DISPLAY_MANAGER_FILE ] &&
[ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then
log_daemon_msg "Not starting $DESC ($NAME); it is not the default
display manager." "$NAME"
else
log_daemon_msg "Starting $NAME" "$NAME"
start-stop-daemon --start --quiet $SSD_START_ARGS
log_end_msg $?
fi
;;
stop)
log_daemon_msg "Stopping $DESC" "$NAME"
start-stop-daemon --stop --quiet $SSD_STOP_ARGS
log_end_msg $?
rm -f $PIDFILE
;;
restart)
$0 stop
sleep 2
$0 start
;;
force-reload)
/etc/init.d/slim restart
;;
status)
status_of_proc /usr/bin/$NAME $NAME
;;
*)
echo "Usage: /etc/init.d/slim {start|stop|restart|force-reload|status}"
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
sessionstart_cmd /usr/bin/sessreg -a -l $DISPLAY %user
sessionstop_cmd /usr/bin/sessreg -d -l $DISPLAY %user
sessiondir /usr/share/xsessions/
screenshot_cmd scrot /root/slim.png
welcome_msg Welcome to %host
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
current_theme debian-it
lockfile /var/run/slim.lock
logfile /var/log/slim.log
-- debconf information:
* shared/default-x-display-manager: slim
slim/daemon_name: /usr/bin/slim