From: Hendrik G. Seliger (hank@Blimp)
Date: 04/01/93


From: hank@Blimp (Hendrik G. Seliger)
Subject: Re: xlock is useless!
Date: Thu, 01 Apr 1993 16:03:26 GMT


: Question: Does anyone know a workaround to also lock people from
: switching to other VCs (at least the one X has been started from)??

O.K., can't stop people from switching around, but I found a way to
stop them from messing up my nice X.

I just put

                  stty intr undef quit undef

into the startx-script, right at the beginning. This way the server
can't be stopped on the VC on which it's been started (and which isn't
used anyway). At the end of startx I reset these parameters:

                  stty intr '^C' quit '^\'

and I'm all set.

(Of course one shouldn't forget the "Dontzap" in the Xconfig file;
otherwise there would still be the Alt-Ctrl-Backspace mess.)

Hank.

-- 
======================================================================
         Hendrik G. Seliger                 Universitaet Essen
   hank@Blimp.automat.uni-essen.de           Schuetzenbahn 70
      Tel.: +49-201-183-2898                4300 Essen, Germany
======================================================================