Other Help Topics :: Setting Up Runtimes



I'm editing DSL to include a gameserver, but i want to know how to set up more shells 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.

If you want details on what exactly I am doing, you can see the info page at http://www.jumbobrian.com/csds .

Thanks in advance.

I mean Runlevels, not Runtimes, sorry.  I can't fix the title...

From your description it sounds more like "virtual terminals",  a.k.a. tty  - which I believe comes from the original terminals being TeleTypes......

For what it's worth, my /etc/inittab entries for the 6 tty (hard drive install of Knoppix) are pasted below:

1:12345:respawn:/sbin/getty 38400 tty1
2:2345:respawn:/sbin/getty 38400 tty2
3:2345:respawn:/sbin/getty 38400 tty3
4:2345:respawn:/sbin/getty 38400 tty4
5:2345:respawn:/sbin/getty 38400 tty5
6:2345:respawn:/sbin/getty 38400 tty6

If you do a:

cat /etc/inittab

you should see what you've got and be able to add from there.

Hope I haven't misunderstood what you wanted....  run levels are a different thing entirely.

Yes, virtual terminals are what I want.  I didn't know what to call them, so I looked in the file and thought they were "runlevels."

For DSL, the part of the file you mentioned has:

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 consoles.  CTRL + ALT + F1 is the boot and shutdown shell, and CTRL + ALT + F2 has started xwindows.

Maybe I need to edit another file?

I would suggest you  uncomment the lines you have and try a copy-paste of those in my post above. If that doesn't work you haven't lost anything and you can change back..... at worst you can rescue things by booting the DSL disk and re-editing the file from that. Doubt that that would be necessary. I can't see what could really go wrong...
Hmm.  All care taken but no responsibility...

I'm no expert, but the entries look like they would disable your tty settings. Maybe someone with more knowledge than mine could confirm or deny... ???

The virtual terminals are there alright, the problem is x is scripted to run by default with all user logins.  I just tried this and it worked.  Comment out the startx line in a users .bash_profile file in their home directory.  Then hit ctrl+alt+F1, F2, F3 etc, and log in as that user, voila!  You have a virtual terminal.
Next Page...
original here.