diff options
author | Simon Rettberg | 2023-01-17 17:31:29 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-01-17 17:31:29 +0100 |
commit | 8e5f2d50d50fd8b30a4b0ea3596374262d8c7d9f (patch) | |
tree | c040da83800ed7fce48a79d64773287cc8308068 /core/modules | |
parent | [vmware-common] Allow undocumented hwversion 20 for VMware 17.x (diff) | |
download | mltk-8e5f2d50d50fd8b30a4b0ea3596374262d8c7d9f.tar.gz mltk-8e5f2d50d50fd8b30a4b0ea3596374262d8c7d9f.tar.xz mltk-8e5f2d50d50fd8b30a4b0ea3596374262d8c7d9f.zip |
[xorg] Add logout hang bug workaround
Diffstat (limited to 'core/modules')
-rw-r--r-- | core/modules/xorg/data/etc/X11/Xreset.d/zzz-kill-xorg | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/modules/xorg/data/etc/X11/Xreset.d/zzz-kill-xorg b/core/modules/xorg/data/etc/X11/Xreset.d/zzz-kill-xorg new file mode 100644 index 00000000..7416cfa7 --- /dev/null +++ b/core/modules/xorg/data/etc/X11/Xreset.d/zzz-kill-xorg @@ -0,0 +1,7 @@ +# Sometimes, maybe 1 out of 20 times, ligtdm will register +# a session ending, call Xreset, and then.... The xserver +# will not exit and hang around. +# No clue why, no motivation to debug, but add this workaround +# for now. This was observed with bot, Ubuntu 20.04 and Debian 12. + +lsof -n "/tmp/.X11-unix/X${DISPLAY#:}" | awk '$1 == "Xorg" {print $2}' | xargs kill |