From: Torsten Duwe (duwe@immd4.informatik.uni-erlangen.de)
Date: 04/01/93


From: duwe@immd4.informatik.uni-erlangen.de (Torsten Duwe)
Subject: Re: xlock is useless!
Date: Thu, 1 Apr 1993 20:39:42 GMT

hank@Blimp (Hendrik G. Seliger) writes:

>There's this nice program called "xlock", which allows to lock an
>X-console while sleeping in some other corner to keep bad people from
>doing their job. The only problem under XFree1.2 is that it's still
>possible to switch VCs. Now if I startx on tty1, it is just as simple
>as pressing Alt-Ctrl-F1 followed by a Ctrl-C to stop X and get the
>users login-shell. No password required.

>I guess it's easy to see that I don't like this. Thus:

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

Do "exec startx" - this way you'll get logged out once X finishes.

        Torsten