X11 + console switch - how does it actually work ?

Dave Airlie airlied at gmail.com
Sun Sep 29 21:26:25 UTC 2019


> 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.

>
>
> --mtx
>
> --
> Enrico Weigelt, metux IT consult
> Free software and Linux embedded engineering
> info at metux.net -- +49-151-27565287
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list