Unix Technical Forum

why 6 ttys in /etc/inittab?

This is a discussion on why 6 ttys in /etc/inittab? within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi, I'm a newbie and I'm learning Linux. One thing that confuses me is, in /etc/inittab, why does the ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 10:10 AM
owl.yangp@gmail.com
 
Posts: n/a
Default why 6 ttys in /etc/inittab?

Hi,

I'm a newbie and I'm learning Linux. One thing that confuses me is, in
/etc/inittab, why does the system listens to 6 terminals (tty1, tty2,
...., tty6) at the same time? Isn't just one is enough cause you have
only one keyboard? Anybody can explain this to me? Thanks.

Regards,
Bob

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 10:10 AM
Kevin J. Phillips
 
Posts: n/a
Default Re: why 6 ttys in /etc/inittab?

owl.yangp wrote:
> I'm a newbie and I'm learning Linux. One thing that confuses me is, in
> /etc/inittab, why does the system listens to 6 terminals (tty1, tty2,
> ..., tty6) at the same time? Isn't just one is enough cause you have
> only one keyboard? Anybody can explain this to me? Thanks.


Assuming you are running with text logins, you can hit <Alt>-<F1> through
<Alt>-<F6> to switch between 6 different login sessions.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 10:10 AM
Allen Kistler
 
Posts: n/a
Default Re: why 6 ttys in /etc/inittab?

Kevin J. Phillips wrote:
> owl.yangp wrote:
>
>>I'm a newbie and I'm learning Linux. One thing that confuses me is, in
>>/etc/inittab, why does the system listens to 6 terminals (tty1, tty2,
>>..., tty6) at the same time? Isn't just one is enough cause you have
>>only one keyboard? Anybody can explain this to me? Thanks.

>
>
> Assuming you are running with text logins, you can hit <Alt>-<F1> through
> <Alt>-<F6> to switch between 6 different login sessions.


Even if you're running in graphical mode, you can get to the text
screens with ctrl-alt-f1, etc., then back to X with ctrl-alt-f9,
although I usually reduce the ttys to only 4. (I don't think I've ever
used more than 3 at once. YMMV) Getting to a command line is handy
when X decides to lock up (but leaves you with the keyboard - hey, it
happens), since the only other way to shut down typically involves the
power switch (argh!).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 10:10 AM
pank7yardbird@gmail.com
 
Posts: n/a
Default Re: why 6 ttys in /etc/inittab?

I think when some jobs is occupying your current terminal, you probably
need another one to do other jobs...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 10:10 AM
Chris F.A. Johnson
 
Posts: n/a
Default Re: why 6 ttys in /etc/inittab?

On 2005-11-28, owl.yangp@gmail.com wrote:
> Hi,
>
> I'm a newbie and I'm learning Linux. One thing that confuses me is, in
> /etc/inittab, why does the system listens to 6 terminals (tty1, tty2,
> ..., tty6) at the same time? Isn't just one is enough cause you have
> only one keyboard? Anybody can explain this to me?


Have you never had more than one window open in an X session?

When I was running Linuz without X, I used 24 ttys.

--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-18-2008, 10:10 AM
Jean-David Beyer
 
Posts: n/a
Default Re: why 6 ttys in /etc/inittab?

Allen Kistler wrote:
> Kevin J. Phillips wrote:
>
>>owl.yangp wrote:
>>
>>
>>>I'm a newbie and I'm learning Linux. One thing that confuses me is, in
>>>/etc/inittab, why does the system listens to 6 terminals (tty1, tty2,
>>>..., tty6) at the same time? Isn't just one is enough cause you have
>>>only one keyboard? Anybody can explain this to me? Thanks.

>>
>>
>>Assuming you are running with text logins, you can hit <Alt>-<F1> through
>><Alt>-<F6> to switch between 6 different login sessions.

>
>
> Even if you're running in graphical mode, you can get to the text
> screens with ctrl-alt-f1, etc., then back to X with ctrl-alt-f9,


For me, with Red Hat, it is

then back to X with ctrl-alt-f7
^
>>>-------------|


> although I usually reduce the ttys to only 4. (I don't think I've ever
> used more than 3 at once. YMMV) Getting to a command line is handy
> when X decides to lock up (but leaves you with the keyboard - hey, it
> happens), since the only other way to shut down typically involves the
> power switch (argh!).



--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 07:35:00 up 1 day, 18:04, 3 users, load average: 4.45, 4.23, 4.19
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-18-2008, 10:10 AM
Enrique Perez-Terron
 
Posts: n/a
Default Re: why 6 ttys in /etc/inittab?

On Mon, 28 Nov 2005 06:52:22 +0100, Allen Kistler <ackistler@oohay.moc> wrote:

> Kevin J. Phillips wrote:


> Even if you're running in graphical mode, you can get to the text
> screens with ctrl-alt-f1, etc., then back to X with ctrl-alt-f9,


Oops, on my system it's ctrl-alt-f7.

Never heard of X running on tty9. Is there a distro that does that
by default? Of course, it is easy to set up X to run off the tty you want.

-Enrique
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-18-2008, 10:10 AM
DarkTemplar
 
Posts: n/a
Default Re: why 6 ttys in /etc/inittab?

24 ttys ?
asuhashuhsauhasu

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-18-2008, 10:10 AM
DarkTemplar
 
Posts: n/a
Default Re: why 6 ttys in /etc/inittab?

24 ttys ? asuhashuhsauhasu
6 is enough to me

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-18-2008, 10:10 AM
Unruh
 
Posts: n/a
Default Re: why 6 ttys in /etc/inittab?

Allen Kistler <ackistler@oohay.moc> writes:

>Kevin J. Phillips wrote:
>> owl.yangp wrote:
>>
>>>I'm a newbie and I'm learning Linux. One thing that confuses me is, in
>>>/etc/inittab, why does the system listens to 6 terminals (tty1, tty2,
>>>..., tty6) at the same time? Isn't just one is enough cause you have
>>>only one keyboard? Anybody can explain this to me? Thanks.

>>
>>
>> Assuming you are running with text logins, you can hit <Alt>-<F1> through
>> <Alt>-<F6> to switch between 6 different login sessions.


>Even if you're running in graphical mode, you can get to the text
>screens with ctrl-alt-f1, etc., then back to X with ctrl-alt-f9,


Back to X with ctrl-alt-F7, not F9 ( unless you have more than one X
session running, but F7 is the first)

>although I usually reduce the ttys to only 4. (I don't think I've ever
>used more than 3 at once. YMMV) Getting to a command line is handy
>when X decides to lock up (but leaves you with the keyboard - hey, it
>happens), since the only other way to shut down typically involves the
>power switch (argh!).

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com