Re: Simple XF4 question: switch to TTY


Subject: Re: Simple XF4 question: switch to TTY
From: Patrick Callahan (pac1@tiac.net)
Date: Sun Nov 11 2001 - 19:03:54 MST


Switching between consoles: ctrl-alt f1 through ctrl-alt f7

> Where can I look at this functionality? That is, where in the source
> code is this set up?
>

What are these?
from ps -aux

root 608 0.0 0.0 1376 568 tty1 S 16:40 0:00 /sbin/mingetty
tty1
root 609 0.0 0.0 1376 568 tty2 S 16:40 0:00 /sbin/mingetty
tty2
root 610 0.0 0.0 1376 568 tty3 S 16:40 0:00 /sbin/mingetty
tty3
root 611 0.0 0.0 1376 568 tty4 S 16:40 0:00 /sbin/mingetty
tty4
root 612 0.0 0.0 1376 568 tty5 S 16:40 0:00 /sbin/mingetty
tty5
root 613 0.0 0.0 1376 568 tty6 S 16:40 0:00 /sbin/mingetty
tty6

From man mingetty:

       mingetty is a minimal getty for use on virtual consoles. Unlike
agetty(8), mingetty is not suitable for serial lines. I recommend using
mgetty(8) for this purpose.

Was this tty7?

root 614 0.0 0.1 4428 1500 ? S 16:40 0:00 /usr/bin/gdm
-nodaemon

is /usr/bin/gdm the login process?

Since mingetty is the program running on each virtual console, is running
mingetty enough to create the virtual console itself?

What then allows the ctrl-alt f keys to switch between them. Is it a part of
the kernel? or does each virtual console know about the others?

What happens when you try to start another mingetty? Does it show up when
you press ctrl-alt-f8? Not that I've been able to do with command

/sbin/mingetty tty8
/sbin/mingetty /dev/tty8

-pat



This archive was generated by hypermail 2a24 : Sun Nov 11 2001 - 19:15:44 MST