Yes nodm is working fine now... except I can't call it from /etc/rc.local anymore. I must now do /etc/init.d/nodm by hand.
Looking at a slice of /var/log/Xorg.0.log for a normal session [ 1403.567] (**) Option "xkb_model" "pc105" [ 1403.567] (**) Option "xkb_layout" "us" [ 1403.567] (**) Option "xkb_options" "lv3:ralt_switch" [ 26103.653] (II) Power Button: Close [ 26103.702] (II) UnloadModule: "evdev" [ 26103.702] (II) Unloading evdev and then for a failed session [ 42.759] (**) Option "xkb_model" "pc105" [ 42.759] (**) Option "xkb_layout" "us" [ 42.760] (**) Option "xkb_options" "lv3:ralt_switch" [ 42.769] (II) Power Button: Close [ 42.769] (II) UnloadModule: "evdev" [ 42.769] (II) Unloading evdev We see that it only takes nodm 0.009 seconds to die. (We look at the same spot where we used it for hours in the normal session.) Of course there is no other trace in /var/log of what happened. All I know is it happens every time now I start from boot and I call nodm from /etc/rc.local: echo "============ $0: Will execute \"${program=/etc/init.d/nodm start}\" in ${seconds=5} seconds. Hit some chars and RET to cancel. Hit RET to start right away." # Hit ^C to cancel -- doesn't work. for ((; seconds > 0; seconds--)) do read -p $seconds.. -t 1 case $? in 0) #they hit RET... case $REPLY in '') break ;; #...with no other chars *) exit 44;; #...with other chars esac;; esac done echo running $program... $program P.S., # sysv-rc-conf --list nodm nodm 2:off 3:off 4:off 5:off In /etc/default/nodm I only changed NODM_ENABLED=true NODM_USER=jidanni And /home/jidanni/.xsession-errors is not touched during by the .009 second crash. $ /usr/sbin/sysv-rc-conf --list acpid 2:on 3:on 4:on 5:on alsa-utils 0:off 6:off S:on anacron 2:off 3:off 4:off 5:off apache2 0:off 1:off 2:off 3:off 4:off 5:off 6:off atd 0:off 1:off 2:on 3:on 4:on 5:on 6:off bootlogd S:on bootlogs 1:on 2:on 3:on 4:on 5:on console-setu S:on cron 1:off 2:on 3:on 4:on 5:on dbus 2:on 3:on 4:on 5:on dictd 1:off 2:on 3:on 4:on 5:on exim4 0:off 1:off 2:on 3:on 4:on 5:on 6:off halt 0:off ifplugd 0:off 1:off 2:off 3:off 4:off 5:off 6:off ifupdown S:on ifupdown-cle S:on kbd S:on keyboard-set S:on killprocs 1:on module-init- S:on mountoverflo S:on mysql 0:off 1:off 2:off 3:off 4:off 5:off 6:off networking 0:off 6:off S:on nodm 2:off 3:off 4:off 5:off ntp 0:off 1:off 2:off 3:off 4:off 5:off 6:off pdnsd 0:off 1:off 2:on 3:on 4:on 5:on 6:off S:off pppd-dns S:on procps S:on rc.local 2:on 3:on 4:on 5:on reboot 6:off resolvconf 0:off 6:off S:on rmnologin 2:on 3:on 4:on 5:on rsync 2:on 3:on 4:on 5:on rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off screen-clean S:on sendsigs 0:off 6:off single 1:on smartd smartmontool 1:off 2:on 3:on 4:on 5:on ssh 2:off 3:off 4:off 5:off stop-bootlog 2:on 3:on 4:on 5:on stop-bootlog S:on udev S:on udev-mtab S:on umountfs 0:off 6:off umountroot 0:off 6:off urandom 0:off 6:off S:on wicd 0:off 1:off 2:off 3:off 4:off 5:off 6:off wwwoffle 0:off 1:off 2:on 3:on 4:on 5:on 6:off x11-common S:on xfstt 0:off 1:off 2:off 3:off 4:off 5:off 6:off -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') [Ah, so that's how I've set it up] Architecture: i386 (i686) Kernel: Linux 2.6.39-2-486 Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages nodm depends on: ii debconf [debconf-2.0] 1.5.40 Debian configuration management sy ii libc6 2.13-10 Embedded GNU C Library: Shared lib ii libpam0g 1.1.3-2 Pluggable Authentication Modules l ii libx11-6 2:1.4.3-2 X11 client-side library ii x11-common 1:7.6+7 X Window System (X.Org) infrastruc ii x11-xserver-utils 7.6+3 X server utilities nodm recommends no packages. nodm suggests no packages. -- debconf information: * nodm/xinit: /usr/bin/xinit * nodm/x_options: vt7 -nolisten tcp * nodm/min_session_time: 60 * nodm/enabled: true * nodm/xsession: /etc/X11/Xsession * nodm/first_vt: 7 * nodm/user: jidanni -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org