Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2217  / 3 Years ago, tue, july 13, 2021, 5:12:16

I'm trying to learn (refresh, actually) stuff about X and vt* etc.



I was fooling around, and somehow screwed up, hit a black screen, and even the usual Ctrl-Alt-F1/F2/...F7 to get to a Console didn't work anymore at all (no reaction).



First of all, is my understanding correct that Ctrl-Alt-F1/F2/...F7 is a "kernel" functionality? As in, which code traps Ctrl-Alt-F1/F2/...F7 and.. does something about it?



If Ctrl-Alt-F1/F2/...F7 don't work anymore, has the kernel panic'd and you really have to reboot? Or would ssh in from another machine still have worked (I hadn't tried - and don't know how to screw it up again..) Is there another way to get a terminal to kill.. something to re-establish Ctrl-Alt-F1/F2/...F7 (what) ?



This is just for learning - no actual real life problem. Thanks!


More From » kernel

 Answers
2

  1. is my understanding correct that Ctrl-Alt-F1/F2/...F7 is a "kernel" functionality ?

    yes.



There's an inherent race condition when switching vt's in an X window envinronment, which would hang the whole system.



It's an ongoing effort to get rid of the archaic vt from kernel, specifically CONFIG_VT.

See David Herrmann impressive work for more details.



References:

1. How VT-switching works

2. Sane Session-Switching


[#27542] Tuesday, July 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oileweaty

Total Points: 337
Total Questions: 108
Total Answers: 105

Location: Western Sahara
Member since Mon, May 3, 2021
3 Years ago
oileweaty questions
Thu, Jul 1, 21, 01:57, 3 Years ago
Wed, Nov 24, 21, 11:48, 2 Years ago
Sat, May 14, 22, 00:50, 2 Years ago
;