Re: Simple XF4 question: switch to TTY


Subject: Re: Simple XF4 question: switch to TTY
From: Elliot Badham Peele (ebpeele2@unity.ncsu.edu)
Date: Sun Nov 11 2001 - 19:16:14 MST


if you want to add more virtual terminals edit the /etc/inittab file.
there should be a few lines that looks something like:

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

this is to define the first six virtual terminals. x is run on the next
availiable terminal. to add another virtual terminal just add the
following line.

7:2345:respawn:/sbin/mingetty tty7

hope this is of some help.

elliot

On Sun, 11 Nov 2001, Patrick Callahan wrote:

> 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:28:04 MST