Skip to contentSkip to conversation

X11 + console switch - how does it actually work ?

DISCUSSION Enrico Weigelt, metux IT consult 2 participants 2 messages Sep 27, 2019 – Sep 29, 2019

lore
Share & tools
lore
#0 lore raw

Hello folks,

could anybody please give me some more insight, how switching from X to console (ctrl+alt+f*) actually works ?

Who catches the keypress event and initiates the VT switch ? The Xserver ? Could this be done in the kernel (eg. when Xserver is hanging) ?

--mtx

Signature · 7 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 9 lines

Hello folks,

could anybody please give me some more insight, how switching from X to console (ctrl+alt+f*) actually works ?

Who catches the keypress event and initiates the VT switch ? The Xserver ? Could this be done in the kernel (eg. when Xserver is hanging) ?

The X server is in full control of it all. No the kernel can't do it, SAK might work (secure-attention key) using sysrq but it probably will just end up with a more confused system.

Dave.

Quoted 4 lines

--mtx

Quoted 8 lines

--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel