Вопрос

Is it possible to manually freeze the Xorg display server on Linux? If so, how?

This would be for testing purposes. I think that there are a lot of situations this could be useful for, but I currently want to use this to test Linux's ability to recover with SysRq keys from X freezing.

Это было полезно?

Решение

You might send a SIGSTOP signal to Xorg with

 sudo pkill -STOP Xorg

and later send it a SIGCONT signal.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top