Increasing the terminals in linux
by Selva[ Edit ] 2008-05-08 15:21:08
In linux by default there will be 6 triminals and 1 XWindow.The 1st triminal can be opened by pressing
ctrl+alt+F1 and 2nd can be opened by pressing
ctrl+alt+F2 and so on upto
crl+alt+F1 and the XWindows can be opened by pressing
ctrl+alt+F7.
You can increase the number of triminals upto 11.This can be done by following steps
Step 1: Open the file
/etc/inittab by giving the command:
vi /etc/inittab
Step2: In that file goto the place where the following lines are specified
# 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
Step 3: Add the line
7:2345:respawn:/sbin/mingetty tty7 and end of the above lines.Then save and exit from the file and then restart the system
Step 4:After rebooting press
ctrl+alt+F7,now you will have 7th teriminal.The XWindow is moved step fornt at
Ctrl+alt+F8
Likewise you add upto 11 terminals(that is upto ctrl+alt+F11),if you have 11 terminals then XWindow will be at
ctrl+alt+F12.When one terminal is added the XWindow will moved one step before.Remember that you can have only one XWindow and you cannot add XWindow as in-the-case of teriminals