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 ***