Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X

2002-02-17 Thread Neale Banks
On Sat, 16 Feb 2002, Christopher W. Allermann wrote: [...] > I'm running Debian 2.2 Potato, Linux Kernel 2.2.17 and XFree86 3.3.6 (I > know its not the latest, sorry about this. I'm in a rush to deploy, can > always upgrade later.) Are you aware of the "unofficial" debs at http://people.debian

Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X

2002-02-17 Thread Alan Hourihane
We already have a function call to disable VT switching. xf86EnableVTSwitch(Bool new) Call it with TRUE to enable VT Switching, and FALSE to disable. You should be able to do this in a driver. It was specifically added for DRI and fullscreen modes, although it should work for this case too. Al

Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X

2002-02-16 Thread Andy Sparrow
> This will result in no available text consoles, but you can still use > Crtl-Alt-Fn to switch to a blank, unused VT. He doesn't want that to be > available. Hmmm, OK. Then there is a need for this functionality. BTW, this isn't way it works on FreeBSD with syscons, possibly other *BSDs as w

Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X

2002-02-16 Thread Joe Krahn
To lock VT switching, try the following simple code. This is nice because root can re-enable switching to get a terminal if needed. Compile the code below. Run it in the first console with: vtlock lock /dev/tty Next, enter startx -- vt1 You now have X on vt1, non-switchable. For X on the usual vt

Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X

2002-02-16 Thread Joe Krahn
Andy Sparrow wrote: > > > Maybe this could be an alternate solution, can i force X to run on tty1? So > > if a Ctrl-Alt-F1 occured nothing would happen since they are already on 1? > > Hmm, actually, I don't see why you couldn't disable all the gettys & run > [xwgk]dm as a display manager, whic

Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X

2002-02-16 Thread Andy Sparrow
> Maybe this could be an alternate solution, can i force X to run on tty1? So > if a Ctrl-Alt-F1 occured nothing would happen since they are already on 1? Hmm, actually, I don't see why you couldn't disable all the gettys & run [xwgk]dm as a display manager, which will take the first "free" VT

Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X

2002-02-16 Thread Mark Vojkovich
On Sat, 16 Feb 2002, Andy Sparrow wrote: > > On Sat, 16 Feb 2002, Christopher W. Allermann wrote: > > > > > I'm stuck with a little bit of a problem here and have been unable > to find a > > > suitable solution. > > > >You might have to hack the server to do this. There are already > > con

Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X

2002-02-16 Thread Christopher W. Allermann
PROTECTED] - Original Message - From: "Syed Irfan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 16, 2002 6:44 PM Subject: Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X > for disabling switching vt > try chvt vtnumber & (eg: chv

Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X

2002-02-16 Thread Syed Irfan
for disabling switching vt try chvt vtnumber & (eg: chvt 1 &)if ur x is running in tty1 in your script that should do the trick, i came with full install of redhat 7.2, try man chvt, or google is your friend hope this helps, i have seen just too many people ask this question hth syed irfan crazy

Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X

2002-02-16 Thread Andy Sparrow
> On Sat, 16 Feb 2002, Christopher W. Allermann wrote: > > > I'm stuck with a little bit of a problem here and have been unable to find a > > suitable solution. > >You might have to hack the server to do this. There are already > config file options to prevent Ctrl-Alt-backspace and Ctrl-Al

Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X

2002-02-16 Thread Christopher W. Allermann
2002 5:02 PM Subject: Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X > On Sat, 16 Feb 2002, Christopher W. Allermann wrote: > > > I'm stuck with a little bit of a problem here and have been unable to find a > > suitable solution. > >You might have to

Re: [Xpert]Diabling Ctrl-Alt-F1 Keysequences Under X

2002-02-16 Thread Mark Vojkovich
On Sat, 16 Feb 2002, Christopher W. Allermann wrote: > I'm stuck with a little bit of a problem here and have been unable to find a > suitable solution. You might have to hack the server to do this. There are already config file options to prevent Ctrl-Alt-backspace and Ctrl-Alt-+/-, but the