After logind receives the SIGRTMIN signal from the kernel, it will execute manager_vt_switch---session_leave_vt---session_device_pause_all,The device permissions of the session are removed here;under normal circumstances, the tty value read from /sys/class/tty/tty0/active changes and switchesto a new session,give the new session resume device permissions. But under abnormal circumstances (such as switching quickly on a device using wayland; and sometimes the kernel will suddenly send a SIGRTMIN signal, but nothing changes),In these cases, logind does not give session resume device permission, causing the device to have a black screen and suspended animation. (cherry picked from commit 2f1d1140101268e69204ec62dd9abb8ead4b48c8) (cherry picked from commit ca4f72f46009ce249d6c265b2a0fba67e7b72ad8)
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Code Map for information about this repository's layout and content.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.