Author: xry111 Date: Sun Feb 21 07:34:50 2021 New Revision: 24254 Log: xorg testing: add sysrq as a precaution if Xorg hangs
Modified: trunk/BOOK/x/installing/xorg-config.xml Modified: trunk/BOOK/x/installing/xorg-config.xml ============================================================================== --- trunk/BOOK/x/installing/xorg-config.xml Sun Feb 21 06:55:47 2021 (r24253) +++ trunk/BOOK/x/installing/xorg-config.xml Sun Feb 21 07:34:50 2021 (r24254) @@ -39,6 +39,35 @@ </para> </note> + <warning> + <para> + If Xorg hangs for some reason (for example, lacking a proper + input driver), the system may stop responsing to any user input. + As a precaution, you can enable a magic <keycap>SysRq</keycap> key + before testing Xorg. As the + <systemitem class="username">root</systemitem> user, issue: + </para> + +<screen><userinput>echo 4 > /proc/sys/kernel/sysrq</userinput></screen> + + <para> + Then if Xorg hangs, it's possible to use + <keycombo> + <keycap>Alt</keycap> + <keycap>SysRq</keycap> + <keycap>R</keycap> + </keycombo> + to reset the keyboard mode. Now it should be able to use + <keycombo> + <keycap>Ctrl</keycap> + <keycap>Alt</keycap> + <keycap>Fx</keycap> + </keycombo> + (replace x with a VT number) to switch to another VT. + If it works, login and kill Xorg using command line in the new VT. + </para> + </warning> + <para> To test the <application>Xorg</application> installation, issue <command>startx</command>. This command brings up a rudimentary window -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page