Bug#1033309: xdm: Unknown session exit code 256
Package: xdm
Version: 1:1.1.11-3+b2
Severity: normal
X-Debbugs-Cc: mo01@posteo.de
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
I run xdm and sometimes I get error 256 as an exit code.
It also doesn't delete the lock file /var/run/xdm.pid and can't start after the next reboot.
For me it seems xdm doesn't exit properly. It happended many times, but not every time xdm is being used.
* What exactly did you do (or not do) that was effective (or
Deleting /var/run/xdm.pid after the reboot if xdm can't start helps.
This is part of an xdm log file:
Sun Jan 29 07:02:45 2023 xdm error (pid 996): Can't lock pid file /var/run/xdm.pid, another xdm is running (pid 763)
Sun Jan 29 07:03:38 2023 xdm error (pid 1027): Can't lock pid file /var/run/xdm.pid, another xdm is running (pid 763)
Sun Jan 29 07:04:22 2023 xdm info (pid 1107): Starting
Sun Jan 29 07:04:22 2023 xdm info (pid 1107): Starting X server on :0
X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
Current Operating System: Linux ryz 6.1.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.7-1 (2023-01-18) x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-6.1.0-2-amd64 root=UUID=677e19d6-ec2a-42bc-b27f-840387b1d200 ro
xorg-server 2:21.1.6-1 (https://www.debian.org/support)
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 29 07:04:22 2023
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Sun Jan 29 07:04:27 2023 xdm info (pid 1120): sourcing /etc/X11/xdm/Xsetup
Sun Jan 29 07:04:31 2023 xdm info (pid 1120): sourcing /etc/X11/xdm/Xstartup
Sun Jan 29 07:04:31 2023 xdm info (pid 1129): executing session /etc/X11/xdm/Xsession
(EE) event1 - PS/2 Logitech Mouse: client bug: event processing lagging behind by 1111ms, your system is too slow
(EE) event1 - PS/2 Logitech Mouse: client bug: event processing lagging behind by 993ms, your system is too slow
Sun Jan 29 10:37:41 2023 xdm error (pid 1107): Sun Jan 29 10:37:41 2023 xdm info (pid 1107): Shutting down
Unknown session exit code 256 from process 1120
(II) Server terminated successfully (0). Closing log file.
Sun Jan 29 10:37:45 2023 xdm info (pid 1107): Exiting
Sun Jan 29 10:49:22 2023 xdm info (pid 761): Starting
Sun Jan 29 10:49:22 2023 xdm info (pid 761): Starting X server on :0
X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
Current Operating System: Linux ryz 6.1.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.7-1 (2023-01-18) x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-6.1.0-2-amd64 root=UUID=677e19d6-ec2a-42bc-b27f-840387b1d200 ro
xorg-server 2:21.1.6-1 (https://www.debian.org/support)
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 29 10:49:25 2023
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Sun Jan 29 10:49:41 2023 xdm info (pid 888): sourcing /etc/X11/xdm/Xsetup
(EE) event0 - AT Translated Set 2 keyboard: client bug: event processing lagging behind by 33ms, your system is too slow
Sun Jan 29 10:50:40 2023 xdm info (pid 761): Shutting down
Sun Jan 29 10:50:40 2023 xdm info (pid 761): display :0 is being disabled
(II) Server terminated successfully (0). Closing log file.
Sun Jan 29 10:50:40 2023 xdm info (pid 761): Exiting
Sun Jan 29 10:50:40 2023 xdm info (pid 990): Starting
Sun Jan 29 10:50:40 2023 xdm info (pid 990): Starting X server on :0
X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
Current Operating System: Linux ryz 6.1.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.7-1 (2023-01-18) x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-6.1.0-2-amd64 root=UUID=677e19d6-ec2a-42bc-b27f-840387b1d200 ro
xorg-server 2:21.1.6-1 (https://www.debian.org/support)
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 29 10:50:40 2023
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Sun Jan 29 10:50:41 2023 xdm info (pid 999): sourcing /etc/X11/xdm/Xsetup
Sun Jan 29 10:51:25 2023 xdm info (pid 990): Shutting down
Sun Jan 29 10:51:25 2023 xdm info (pid 990): display :0 is being disabled
(II) Server terminated successfully (0). Closing log file.
Sun Jan 29 10:51:25 2023 xdm info (pid 990): Exiting
Sun Jan 29 10:51:27 2023 xdm info (pid 1032): Starting
Sun Jan 29 10:51:27 2023 xdm info (pid 1032): Starting X server on :0
X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
Current Operating System: Linux ryz 6.1.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.7-1 (2023-01-18) x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-6.1.0-2-amd64 root=UUID=677e19d6-ec2a-42bc-b27f-840387b1d200 ro
xorg-server 2:21.1.6-1 (https://www.debian.org/support)
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 29 10:51:28 2023
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Sun Jan 29 10:51:28 2023 xdm info (pid 1041): sourcing /etc/X11/xdm/Xsetup
Sun Jan 29 10:52:19 2023 xdm info (pid 1032): Shutting down
Sun Jan 29 10:52:19 2023 xdm info (pid 1032): display :0 is being disabled
(II) Server terminated successfully (0). Closing log file.
Sun Jan 29 10:52:19 2023 xdm info (pid 1032): Exiting
Sun Jan 29 10:52:39 2023 xdm info (pid 1142): Starting
Sun Jan 29 10:52:39 2023 xdm info (pid 1142): Starting X server on :0
X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
Current Operating System: Linux ryz 6.1.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.7-1 (2023-01-18) x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-6.1.0-2-amd64 root=UUID=677e19d6-ec2a-42bc-b27f-840387b1d200 ro
xorg-server 2:21.1.6-1 (https://www.debian.org/support)
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 29 10:52:39 2023
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Sun Jan 29 10:52:39 2023 xdm info (pid 1155): sourcing /etc/X11/xdm/Xsetup
Sun Jan 29 10:53:16 2023 xdm info (pid 1142): Shutting down
Sun Jan 29 10:53:16 2023 xdm info (pid 1142): display :0 is being disabled
(II) Server terminated successfully (0). Closing log file.
Sun Jan 29 10:53:16 2023 xdm info (pid 1142): Exiting
Sun Jan 29 11:17:52 2023 xdm info (pid 745): Starting
Sun Jan 29 11:17:53 2023 xdm info (pid 745): Starting X server on :0
X Protocol Version 11, Revision 0
Current Operating System: Linux ryz 6.1.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.7-1 (2023-01-18) x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-6.1.0-2-amd64 root=UUID=677e19d6-ec2a-42bc-b27f-840387b1d200 ro
xorg-server 2:21.1.6-1 (https://www.debian.org/support)
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 29 11:17:58 2023
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Sun Jan 29 11:18:11 2023 xdm info (pid 869): sourcing /etc/X11/xdm/Xsetup
Sun Jan 29 11:18:17 2023 xdm info (pid 869): sourcing /etc/X11/xdm/Xstartup
Sun Jan 29 11:18:18 2023 xdm info (pid 897): executing session /etc/X11/xdm/Xsession
Sun Jan 29 11:20:48 2023 xdm info (pid 869): sourcing /etc/X11/xdm/Xreset
Sun Jan 29 11:20:48 2023 xdm error (pid 745): Unknown session exit code 256 from process 869
Sun Jan 29 11:20:48 2023 xdm info (pid 745): Shutting down
(II) Server terminated successfully (0). Closing log file.
Sun Jan 29 11:20:49 2023 xdm info (pid 745): Exiting
Sun Jan 29 11:30:03 2023 xdm info (pid 756): Starting
Sun Jan 29 11:30:04 2023 xdm info (pid 756): Starting X server on :0
X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
Current Operating System: Linux ryz 6.1.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.7-1 (2023-01-18) x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-6.1.0-2-amd64 root=UUID=677e19d6-ec2a-42bc-b27f-840387b1d200 ro
xorg-server 2:21.1.6-1 (https://www.debian.org/support)
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 29 11:30:06 2023
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Sun Jan 29 11:30:22 2023 xdm info (pid 876): sourcing /etc/X11/xdm/Xsetup
Sun Jan 29 11:30:27 2023 xdm info (pid 876): sourcing /etc/X11/xdm/Xstartup
Sun Jan 29 11:30:29 2023 xdm info (pid 904): executing session /etc/X11/xdm/Xsession
(EE) client bug: timer event1 debounce: scheduled expiry is in the past (-837ms), your system is too slow
(EE) client bug: timer event1 debounce: scheduled expiry is in the past (-734ms), your system is too slow
(EE) client bug: timer event1 debounce short: scheduled expiry is in the past (-747ms), your system is too slow
Sun Jan 29 12:36:22 2023 xdm info (pid 876): sourcing /etc/X11/xdm/Xreset
Sun Jan 29 12:36:22 2023 xdm error (pid 756): Unknown session exit code 256 from process 876
Sun Jan 29 12:36:23 2023 xdm info (pid 756): Shutting down
(II) Server terminated successfully (0). Closing log file.
Sun Jan 29 12:36:25 2023 xdm info (pid 756): Exiting
Sun Jan 29 12:43:03 2023 xdm info (pid 757): Starting
Sun Jan 29 12:43:03 2023 xdm info (pid 757): Starting X server on :0
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: 12.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages xdm depends on:
ii cpp 4:12.2.0-3
ii debconf [debconf-2.0] 1.5.82
ii libc6 2.36-8
ii libcrypt1 1:4.4.33-2
ii libpam0g 1.5.2-6
ii libselinux1 3.4-1+b5
ii libx11-6 2:1.8.4-2
ii libxau6 1:1.0.9-1
ii libxaw7 2:1.0.14-1
ii libxdmcp6 1:1.1.2-3
ii libxext6 2:1.3.4-1+b1
ii libxft2 2.3.6-1
ii libxinerama1 2:1.1.4-3
ii libxmu6 2:1.1.3-3
ii libxpm4 1:3.5.12-1.1
ii libxrender1 1:0.9.10-1.1
ii libxt6 1:1.2.1-1
ii lsb-base 11.6
ii procps 2:4.0.3-1
ii sysvinit-utils [lsb-base] 3.06-2
ii x11-utils 7.7+5
ii x11-xserver-utils 7.7+9+b1
xdm recommends no packages.
xdm suggests no packages.
-- debconf information:
* shared/default-x-display-manager: xdm
xdm/daemon_name: /usr/bin/xdm
xdm/stop_running_server_with_children: false
Reply to: