Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Setting Up More Virtual Terminals, Which file to modify?< Next Oldest | Next Newest >
jumbobrian Offline





Group: Members
Posts: 6
Joined: Jan. 2004
Posted: Jan. 11 2004,20:42 QUOTE

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?
Back to top
Profile PM 
skaos
Unregistered






Posted: Jan. 13 2004,15:21 QUOTE

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).
Back to top
Vacendak Offline





Group: Members
Posts: 24
Joined: Nov. 2003
Posted: Jan. 15 2004,06:30 QUOTE

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
Back to top
Profile PM 
2 replies since Jan. 11 2004,20:42 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Setting Up More Virtual Terminals

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code