Manikandan Thangavelu wrote:

Hi All,

 

Setting up the server flags DontVTSwitch, DontZap etc to true in the XF86Config file and the restarting the

X stops the switching between the terminals using Ctrl+Alt+F (1-6).What exactly is happening in the background during this?

Does this mean Ctrl+Alt+F (1-6) are handled by the XServer? Is there any programmatic way of stopping this switching between

Terminals rather than changing XF86Config file directly?


It is a cooperative process.  Ordinarily, the kernel console driver handles VT switching by itself.  When XFree86 runs, it tells the kernel that it wants to handle all VT switching when it is the current process. Once a handler has been registered, the kernel is no longer involved.  So, if XFree86 never releases control, no other VT can get in.
-- 
- Tim Roberts, [EMAIL PROTECTED]
  Providenza & Boekelheide, Inc.


Reply via email to