Re: help about server flags

Tim Roberts <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Organization Providenza & Boekelheide, Inc.
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.