https://bugzilla.novell.com/show_bug.cgi?id=780130 https://bugzilla.novell.com/show_bug.cgi?id=780130#c1 Norihiko Murase <mur1080224@inter7.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mur1080224@inter7.jp --- Comment #1 from Norihiko Murase <mur1080224@inter7.jp> 2012-10-08 06:24:07 UTC --- Hi, Also I did encounter this bug yesterday, under the environment where I use xdm and TWM (the default window manager of X). I consider that this crazy bug is NOT specific to LXDE. This bug seems to stem from the curious behavior of the X server process that does exit with status 256 when we log out. The detail of the flow is as follows: (1) Log-out: Choose Logout in LXDE menu or do 'Exit' in the twm menu. (2) The flow written in xinitrc does exit normally (with status 0). * because I don't have ~/.xinitrc, and /etc/X11/xinit/xinitrc does "exec" the appropriate window manager (twm, for me). (3) The X reset flow, which is written in /etc/X11/xdm/Xreset, is started. * The file "/etc/X11/xdm/Xreset" is specified as the X resource DisplayManager.*.reset, in /etc/X11/xdm/xdm-config (4) The X reset flow does exit normally (with status 0). (5) The X Display process (-:0) terminates ABNORMALLY (with status 256). (6) Also the xdm process does exit. I did re-try under the debugLevel=1, which means that the xdm was started via the following procedure: (1) Add the following line to /etc/X11/xdm/xdm-config: DisplayManager.debugLevel: 1 (2) Start xdm via the following command-line: # systemctl start xdm.service Then, the list of the process is as follows: ------------------------------------------------------------ PID STAT PPID RUSER EUSER STARTED COMMAND 7865 S 2 root root Mon Oct 8 13:22:59 2012 [flush-8:0] 7980 S 2 root root Mon Oct 8 13:23:48 2012 [flush-253:0] 8063 S 1 root root Mon Oct 8 13:24:46 2012 /usr/bin/xdm 8065 Ss+ 8063 root root Mon Oct 8 13:24:46 2012 /usr/bin/X -nolisten tcp -br vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-2d3UxT 8069 Ss 8063 root root Mon Oct 8 13:24:46 2012 -:0 8094 S 2 root root Mon Oct 8 13:25:29 2012 [kworker/1:0] 8108 Ss 8069 test00 test00 Mon Oct 8 13:25:42 2012 /usr/bin/twm 8153 S 1 test00 test00 Mon Oct 8 13:25:42 2012 dbus-launch --sh-syntax --exit-with-session --close-stderr 8154 Ss 1 test00 test00 Mon Oct 8 13:25:42 2012 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session 8156 Ssl 1 test00 test00 Mon Oct 8 13:25:42 2012 ibus-daemon --xim -d 8159 Sl 8156 test00 test00 Mon Oct 8 13:25:42 2012 /usr/lib/ibus/ibus-gconf 8161 S 8156 test00 test00 Mon Oct 8 13:25:42 2012 /usr/bin/python /usr/share/ibus/ui/gtk/main.py 8163 Sl 1 test00 test00 Mon Oct 8 13:25:42 2012 /usr/lib/ibus/ibus-x11 --kill-daemon 8169 S 1 test00 test00 Mon Oct 8 13:25:42 2012 /usr/lib/gvfs/gvfsd 8177 Sl 1 test00 test00 Mon Oct 8 13:25:42 2012 /usr/lib/gvfs//gvfs-fuse-daemon -f /run/user/test00/gvfs 8182 S 1 test00 test00 Mon Oct 8 13:25:42 2012 /usr/lib/GConf/2/gconfd-2 8192 S 8156 test00 test00 Mon Oct 8 13:25:42 2012 /usr/bin/python /usr/share/ibus-anthy/engine/main.py --ibus 8218 Ss+ 6861 root root Mon Oct 8 13:26:35 2012 -bash 8284 R+ 2369 root root Mon Oct 8 13:28:44 2012 ps -A -o pid,stat,ppid,ruser -o user=EUSER -o lstart,args 8285 S+ 2369 root root Mon Oct 8 13:28:44 2012 tail -n 20 ------------------------------------------------------------ After the log out, /var/log/messages shows the following: ------------------------------------------------------------ Oct 8 13:29:09 skelpc01 kernel: [49691.186462] composite sync not supported Oct 8 13:29:13 skelpc01 xdm[8015]: Source reset program /etc/X11/xdm/Xreset Oct 8 13:29:13 skelpc01 xdm[8015]: xdm info (pid 8069): sourcing /etc/X11/xdm/Xreset Oct 8 13:29:13 skelpc01 xdm[8015]: attempting to execve() /etc/X11/xdm/Xreset Oct 8 13:29:13 skelpc01 systemd-logind[720]: Removed session 79. Oct 8 13:29:13 skelpc01 xdm[8015]: Manager wait returns pid: 8069 sig 1 core 0 code 0 Oct 8 13:29:13 skelpc01 xdm[8015]: Display exited with unknown status 256 Oct 8 13:29:13 skelpc01 xdm[8015]: xdm error (pid 8063): Unknown session exit code 256 from process 8069 Oct 8 13:29:13 skelpc01 xdm[8015]: WaitForSomething Oct 8 13:29:13 skelpc01 xdm[8015]: signals blocked Oct 8 13:29:13 skelpc01 xdm[8015]: Server terminated successfully (0). Closing log file. Oct 8 13:29:13 skelpc01 xdm[8015]: Manager wait returns pid: 8065 sig 0 core 0 code 0 Oct 8 13:29:13 skelpc01 xdm[8015]: Zombie server reaped, removing display :0 Oct 8 13:29:13 skelpc01 xdm[8015]: Nothing left to do, exiting Oct 8 13:29:13 skelpc01 xdm[8015]: xdm info (pid 8063): Exiting Oct 8 13:29:13 skelpc01 xdm[8015]: unlinking process ID file /var/run/xdm.pid Oct 8 13:29:14 skelpc01 killproc: killproc: Usage: Oct 8 13:29:14 skelpc01 xdm[8303]: ..done ------------------------------------------------------------ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.