mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: June 17 2005,16:33 |
|
As stated previously, inittab handles your virtual terminals. The one that you see listed in inittab for runlevel 5 does exist, but it is used for the X session. Runlevel 5 in debian systems is equivalent to runlevel 3 in many other distros, except that 'startx' is run as soon as you log in. Exit fluxbox and you be in a terminal.
Here's what i did to get multiple terminals in runlevel 5, without needing to change my display settings:
This is in the original /etc/inittab 1:12345:respawn:/bin/bash -login >/dev/tty1 2>&1 </dev/tty1 2:234:respawn:/bin/bash -login >/dev/tty2 2>&1 </dev/tty2 3:234:respawn:/bin/bash -login >/dev/tty3 2>&1 </dev/tty3 4:234:respawn:/bin/bash -login >/dev/tty4 2>&1 </dev/tty4
I changed it to this: 1:12345:respawn:/bin/bash -login >/dev/tty1 2>&1 </dev/tty1 2:2345:respawn:/bin/bash -login >/dev/tty2 2>&1 </dev/tty2 3:2345:respawn:/bin/bash -login >/dev/tty3 2>&1 </dev/tty3 4:2345:respawn:/bin/bash -login >/dev/tty4 2>&1 </dev/tty4
Now i have 3 additional terminals in runlevel 5. I get to the others with Ctrl+Alt+F#, and get back into X with Alt+F5
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|