Setting Up More Virtual Terminals


Forum: Other Help Topics
Topic: Setting Up More Virtual Terminals
started by: jumbobrian

Posted by jumbobrian on Jan. 11 2004,20:42
I'm editing DSL to include a gameserver, but i want to know how to set up more virtual terminals with CTRL + ALT + F2, F3, or F4, like in the original Knoppix.

I've searched Google, and it seems to be leading me to /etc/inttab .  I've compared the files from both DSL and Knoppix, and they appear to be the same.

For DSL, the part of the file in question is:

Quote

# 4 virtual consoles with immortal shells
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


But DSL has no virtual terminals.  CTRL + ALT + F1 is the boot and shutdown shell, and CTRL + ALT + F2 has started xwindows.

Maybe I need to edit another file?

Posted by skaos on Jan. 13 2004,15:21
Try to add 5 to '234' in the three last lines:
2:2345:respawn:/bin/bash -login >/dev/tty2 2>&1 </dev/tty2

I hope this works (cannot guarantee it though).

Posted by Vacendak on Jan. 15 2004,06:30
edit bash_profile and comment out startx. i.e. put a # in front of the line startx do this for user and for root. Then when you are logged in as user(damnsmall) you can do Ctrl-Alt-F2 and you will get a login prompt when you login it will not start X it will give you a command prompt.If you do this for root as well then when you type su - and your password in rxvt it won't start X.

Hope that helps
Good Luck
Vacendak

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.