Setting Up RuntimesForum: Other Help Topics Topic: Setting Up Runtimes started by: jumbobrian Posted by jumbobrian on Jan. 11 2004,10:17
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... Posted by peter on Jan. 11 2004,14:37
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. Posted by jumbobrian on Jan. 11 2004,20:26
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:
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? Posted by peter on Jan. 12 2004,23:47
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... Posted by nosebleed on Jan. 20 2004,02:13
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.
Posted by peter on Jan. 20 2004,13:22
nosebleed......aha! That's really worth knowing - thanks!
Posted by Krezip on Feb. 09 2004,11:20
Ok, I have just tried Peters suggestion and it does NOT work. Still no virtual Terminals.Then Mr Nosebleed comes up with the startx in .bash_profile. I can't find any .bash_profile in my DSL system. I might have deleted it... Still no virtual terminals up here... I'll dive into that .bash_profile stuff on a Knoppix CD and copy it to my private-DSL distro. Thanks for the ideas! |