my inittab does not list the ttys in runlevel 5 - but they are available. relevant section :
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 Tim here's the complete file : # /etc/inittab: init(8) configuration. # $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ # The default runlevel. id:2:initdefault: # Boot-time system configuration/initialization script. # This is run first except when booting in emergency (-b) mode. si::sysinit:/etc/init.d/rcS # What to do in single-user mode. ~~:S:wait:/sbin/sulogin # /etc/init.d executes the S and K scripts upon change # of runlevel. # # Runlevel 0 is halt. # Runlevel 1 is single-user. # Runlevels 2-5 are multi-user. # Runlevel 6 is reboot. l0:0:wait:/etc/init.d/rc 0 l1:1:wait:/etc/init.d/rc 1 l2:2:wait:/etc/init.d/rc 2 l3:3:wait:/etc/init.d/rc 3 l4:4:wait:/etc/init.d/rc 4 l5:5:wait:/etc/init.d/rc 5 l6:6:wait:/etc/init.d/rc 6 # Normally not reached, but fallthrough in case of emergency. z6:6:respawn:/sbin/sulogin # What to do when CTRL-ALT-DEL is pressed. ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now # Action on special keypress (ALT-UpArrow). #kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work." # What to do when the power fails/returns. pf::powerwait:/etc/init.d/powerfail start pn::powerfailnow:/etc/init.d/powerfail now po::powerokwait:/etc/init.d/powerfail stop # /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 # Example how to put a getty on a serial line (for a terminal) # #T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 #T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 # Example how to put a getty on a modem line. # #T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3 On Fr, 30.07.2004, 11:30, Bernhard Kleine sagte: > On Do, 2004-07-29 at 22:48, Robert Goley wrote: >> Out of curiosity, what does your /etc/inittab look like after the >> "dpkg-reconfigure console-data" command has been run. Can you verify >> if it is making the change I suggested. I can verify that the default >> sarge install only sets up 1 tty for runlevel 5. I would just like to >> know if it is modifying the inittab from debconf. >> >> Robert >> >> On Thu, 2004-07-29 at 15:16, Tim wrote: >> > i did an "apt-get distupgrade" and set some keyboard options (i'm >> using a >> > german keyboard) using "xmodmap" (which sounds as if it would only >> affect >> > X11, but i'm not sure) and did a "dpkg-reconfigure console-data", and >> my >> > problem is gone - i don't know which of the measures above solved it. >> > >> > another problem with the keyboard persists - in X11, my pipe key ("|", >> > ">", "<") doesn't work so i have to copy and paste the pipe symbol, >> while >> > under the text consoles the "Alt Gr" (right alt) key does not work - >> this >> > prevents you from typing a backslash and an "@" with a german keyboard >> > layout :-( >> > >> > nevertheless, your pointer to /etc/inittab sounds very reasonable and >> i must >> > admit that i forget to check that obvious possibilty - thanks. i'll >> have a >> > look at my inittab, but it seems to be ok, as switching ttys does atm >> > work. >> > >> > tim >> > >> > > >> > > You will need to change it to this: >> > > >> > > snip---- >> > > # 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 >> runX. >> > > # >> > > 1:2345: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 >> > > snip---- >> > > >> > > After doing that, as root type "init q" for it to reread that file. >> > > Problem solved. > > I have a similar problem, but it looks slightly different: > > I changed /etc/inittab as suggested. Afterwards, while starting gnome I > could change during the start several times into ttys2 to 6, however, > when the panel was finally finished no changing is possible any > further,not even to tty1. > > So there is another gnome program which catches ctrl-alt-5(1-6) and > doesnot translate it to change to tty5. Would be nice to know whichone. > > ps ax responds with the following (I include everything before gdm ) > > 2206 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 > 2207 tty2 Ss+ 0:00 /sbin/getty 38400 tty2 > 2208 tty3 Ss+ 0:00 /sbin/getty 38400 tty3 > 2209 tty4 Ss+ 0:00 /sbin/getty 38400 tty4 > 2210 tty5 Ss+ 0:00 /sbin/getty 38400 tty5 > 2211 tty6 Ss+ 0:00 /sbin/getty 38400 tty6 > 2255 ? S< 0:16 /usr/X11R6/bin/X :0 -audit 0 -auth > /var/lib/gdm/:0.Xauth -nolisten tcp vt7 > 2315 ? Ss 0:00 /usr/bin/gnome-session > 2376 ? Ss 0:00 /usr/bin/ssh-agent /usr/bin/gnome-session > 2378 ? S 0:01 /usr/lib/gconf2/gconfd-2 5 > 2381 ? S 0:00 /usr/bin/gnome-keyring-daemon > 2383 ? Ss 0:00 > /usr/lib/bonobo-activation/bonobo-activation-server --ac-activate > --ior-output-fd=18 > 2385 ? Ss 0:00 gnome-smproxy --sm-config-prefix > /.gnome-smproxy-7dJxjj/ --sm-client-id 117f0000010001 > 2387 ? S 0:00 /usr/lib/control-center/gnome-settings-daemon > --oaf-activate-iid=OAFIID:GNOME_Settings > 2397 ? S 0:00 xscreensaver -nosplash > 2408 ? Ss 0:01 metacity --sm-save-file > 1091024479-10350-1223624314.ms > 2426 ? Ss 0:00 gnome-panel --sm-config-prefix > /gnome-panel-LwBNY9/ --sm-client-id 117f000001000109093 > 2428 ? Ss 0:01 nautilus --sm-config-prefix /nautilus-TLul79/ > --sm-client-id 117f000001000109093535000 > 2432 ? Ss 0:09 evolution --sm-config-prefix > /evolution-SxMsE5/ --sm-client-id 117f0000010001090998547 > 2434 ? Ss 0:00 /usr/lib/evolution/1.4/evolution-alarm-notify > --sm-config-prefix /evolution-alarm-noti > 2436 ? Ss 0:00 gnome-terminal --sm-config-prefix > /gnome-terminal-7cuUfa/ --sm-client-id 117f000001000 > 2438 ? Ss 0:00 gnome-help --sm-config-prefix /yelp-kI6cIc/ > --sm-client-id 117f00000100010910243680000 > 2453 ? S 0:00 /usr/lib/gnome-vfs2/gnome-vfs-daemon > --oaf-activate-iid=OAFIID:GNOME_VFS_Daemon_Factor > 2505 ? S 0:00 /usr/lib/evolution/1.4/evolution-wombat > --oaf-activate-iid=OAFIID:GNOME_Evolution_Womb > 2507 ? S 0:00 /usr/lib/nautilus-cd-burner/mapping-daemon > 2510 ? S 0:00 gnome-pty-helper > 2511 pts/0 Ss+ 0:00 bash > 2513 pts/1 Ss+ 0:00 bash > 2522 ? S 0:00 /usr/lib/gnome-panel/wnck-applet > --oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory --oaf > 2524 ? S 0:00 /usr/lib/gnome-panel/multiload-applet-2 > --oaf-activate-iid=OAFIID:GNOME_MultiLoadApple > 2525 ? Z 0:00 [netstat] <defunct> > 2532 ? S 0:00 /usr/lib/gnome-panel/mailcheck-applet > --oaf-activate-iid=OAFIID:GNOME_MailcheckApplet_ > 2538 ? S 0:00 /usr/lib/gnome-panel/clock-applet > --oaf-activate-iid=OAFIID:GNOME_ClockApplet_Factory > 2553 ? S 0:00 /usr/lib/gnome-panel/gkb-applet-2 > --oaf-activate-iid=OAFIID:GNOME_KeyboardApplet_Facto > 2557 ? S 0:00 /usr/lib/nautilus/nautilus-throbber > --oaf-activate-iid=OAFIID:Nautilus_Throbber_Factor > 2567 pts/2 Ss 0:00 bash > 2571 pts/2 R+ 0:00 ps ax > > killing gkb-applet-2 didnot change anything! > > using Gnome 2.6, kernel 2.6.7 for K7 out of the box from ftp.debian.org > mirror and testing > > Bernhard > > > >