David G�mez said...

|Is there any way to disable switching to virtual consoles ? I want to
|install X in a system and i don't want anybody using 'ctrl+alt+Fn' and a
|system console appear.

On linux and some other systems, this
will work.

In /etc/inittab, look for the lines that
look something like this:

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

Just comment out however many consoles
you don't want, starting from the bottom.
Comment them all out if you like.

For future reference, things like this
often vary from OS to OS, so it's a good
idea to note which OS you are using.  So
if you are running an OS besides Linux,
the above may not work.

-Miles
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to