Click to See Complete Forum and Search --> : bash - pseudoTTYs don't work
justy
12-01-2003, 02:00 PM
I have a dual boot machine and use a bootdisk to start debian.
Now - i don't know the reason - I cannot switch to another terminal via ALT + F1, F2 ...
I reinstalled bash via aptitude already, but this did not fix the problem.
I wouldn't think this to be the case, but is it possible that you aren't starting any ttys? Look in /etc/inittab, it should have entries very similar to the following:#Run gettys in standard runlevels
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
Also, if you're trying to get to a tty from within the GUI, use <Ctrl><Alt><FX> to get there, not <Alt><FX>. <Alt><F7> will switch you back to the GUI.
justy
12-01-2003, 03:31 PM
This is the case. In my case it is getty, not mingetty. I replaced
[...]
3:23:respawn:/sbin/getty tty3
4:23:respawn:/sbin/getty tty4
5:23:respawn:/sbin/getty tty5
6:23:respawn:/sbin/getty tty6
by
3:2345:respawn:/sbin/getty tty3
4:2345:respawn:/sbin/getty tty4
5:2345:respawn:/sbin/getty tty5
6:2345:respawn:/sbin/getty tty6
So the reason was the missing numbers . . .
Thanks for your help.
Bingo- good work; you're welcome.
The "missing numbers" are the runlevels- you weren't running ttys in all of the runlevels that you needed. Glad you got it- I've never used Debian before, so I wasn't sure if that would be the fix.
:)