1 https://www.illumos.org/issues/12473
2 5 seconds delay may be too short for Xorg to exit
4 --- lightdm-1.28.0/src/process.c-orig Sat Apr 11 19:09:08 2020
5 +++ lightdm-1.28.0/src/process.c Mon Apr 13 14:53:16 2020
10 - /* Send SIGTERM, and then SIGKILL if no response */
11 - priv->quit_timeout = g_timeout_add (5000, (GSourceFunc) quit_timeout_cb, process);
12 + /* Send SIGTERM, and then SIGKILL 60 seconds later if no response */
13 + priv->quit_timeout = g_timeout_add (60000, (GSourceFunc) quit_timeout_cb, process);
14 process_signal (process, SIGTERM);