Guess it's not applying the getty processes.
/sbin/getty 38400 tty2
/sbin/getty 38400 tty3
etc
etc...
Alright, since the beginning of my Linux endavor, I've always had multiple TTYs at my disposal whether it's Red Hat or Debian or any other distros.
Now, my new desktop Debian testing box is not giving me multiple TTYs. You know when you do Ctrl-Alt-F1 and Ctrl-Alt-F2, that will give you two different log in shell prompts? Where do I change it to get that up to four?
Google is no crystal-ball for me at this moment.
TIA
Guess it's not applying the getty processes.
/sbin/getty 38400 tty2
/sbin/getty 38400 tty3
etc
etc...
Got cha ...
Now, how to make it permanent?
Put that into etc-setserial file in /etc/rcS.d/ ?
TIA
It's in /etc/inittab:
Code:# /sbin/getty invocations for the runlevels. # # The "id" field MUST be the same as the last # characters of the device (after "tty"). # # Format: # <id>:<runlevels>:<action>:<process> # # Note that on most Debian systems tty7 is used by the X Window System, # so if you want to add more getty's go ahead but skip tty7 if you run X. # 1:2345:respawn:/sbin/getty 38400 tty1 2:23:respawn:/sbin/getty 38400 tty2 3:23:respawn:/sbin/getty 38400 tty3 4:23:respawn:/sbin/getty 38400 tty4 5:23:respawn:/sbin/getty 38400 tty5 6:23:respawn:/sbin/getty 38400 tty6
Okay, here is my inittab entry. ( darn, I forgot about this file )
Why am I not getting multiple TTYs?Code:# /sbin/getty invocations for the runlevels. # # The "id" field MUST be the same as the last # characters of the device (after "tty"). # # Format: # <id>:<runlevels>:<action>:<process> # # Note that on most Debian systems tty7 is used by the X Window System, # so if you want to add more getty's go ahead but skip tty7 if you run X. # 1:2345:respawn:/sbin/getty 38400 tty1 2:23:respawn:/sbin/getty 38400 tty2 3:23:respawn:/sbin/getty 38400 tty3 4:23:respawn:/sbin/getty 38400 tty4 5:23:respawn:/sbin/getty 38400 tty5 6:23:respawn:/sbin/getty 38400 tty6
Yeah, I just checked with my other good system which has no problem getting 4 TTYs plus one for X running. The Config seems to be the same... ??? as well as the entry in inittab file. :-\
Here is what I have in my /etc/inittab file (just the getty part):
The only difference I can see is that all of my enteries contain runlevels 2-5 whereas yours only has that for the first tty.Code:# /sbin/getty invocations for the runlevels. # # The "id" field MUST be the same as the last # characters of the device (after "tty"). # # Format: # <id>:<runlevels>:<action>:<process> 1:12345:respawn:/sbin/getty 38400 tty1 2:2345:respawn:/sbin/getty 38400 tty2 3:2345:respawn:/sbin/getty 38400 tty3 4:2345:respawn:/sbin/getty 38400 tty4 5:2345:respawn:/sbin/getty 38400 tty5 6:2345:respawn:/sbin/getty 38400 tty6
Considering that the default runlevel for Debian is 2 it would seem that your entry should give you what you want. Is there any chance you are in runlevel 4 or 5? That could explain why you are only getting 1 terminal. Sorry for the non-answer all I can offer is that the above entry seems to work for "unstable". Good luck.
Bookmarks