-
Setting Up Virtuals Terminals
I'm editing Damn Small Linux (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, but they appear to be the same.
The part of "/etc/inittab" in question is:
# 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?
-
Senior Member
registered user
hi jumbobrian
Using the Kde gui in knoppix allows 16 desktops to easily be turned on and off by:
Kstart/Settings/Control Center/Desktops/Multiple Desktops.
If you do decide to enable all 16 desktops. I dont know the keyboard sequence is after F12. If you find out what they might be plese post em.
thankx
johnb
-
Consoles with Damn Small Linux
Facing exactly the same problem here :
Inittab looks perfectly OK, seems like I should have 4 consoles. But that not the fact, CTRL ALT F1 is the xinit output en console 2 = X output...
What happened with 4 & 5 as defined in inittab?
Prev post mentions using KDE, I don't think that has anything to do with since consoles are present without starting any X! Besides KDE on a 50MB DSL would be quiet dumb...
In /etc/inittab
# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
# <id>:<runlevels>:<action>:<process>
# 4 virtual consoles with immortal shells
1:12345:respawn:/bin/bash -login >/dev/tty1 2>&1 </dev/tty1
2:2345:respawn:/bin/bash -login >/dev/tty2 2>&1 </dev/tty2
3:2345:respawn:/bin/bash -login >/dev/tty3 2>&1 </dev/tty3
4:2345:respawn:/bin/bash -login >/dev/tty4 2>&1 </dev/tty4
Any help would be appreciated!
-
I've also posted this question on another forum. That post has some answers, although I haven't had time to verify if they work of not.
http://damnsmalllinux.org/cgi-bin/fo...=ST;f=12;t=112
-
Junior Member
registered user
# Format:
# :<runlevels>::<process>
# 4 virtual consoles with immortal shells
1:12345:respawn:/bin/bash -login >/dev/tty1 2>&1 </dev/tty1
2:2345:respawn:/bin/bash -login >/dev/tty2 2>&1 </dev/tty2
3:2345:respawn:/bin/bash -login >/dev/tty3 2>&1 </dev/tty3
4:2345:respawn:/bin/bash -login >/dev/tty4 2>&1 </dev/tty4
The 12345 and 2345 specify the runlevels at which the vt's will be started. It seems that DSL boots into runlevel 1, so that's why you only have 1 terminal. You can replace :2345: with :12345: or issue an 'init 2'
Hope this helps
Similar Threads
-
By SpyroVII in forum General Support
Replies: 3
Last Post: 09-14-2004, 03:08 PM
-
By ahfoo in forum General Support
Replies: 1
Last Post: 07-13-2004, 01:41 AM
-
By bhavin in forum General Support
Replies: 0
Last Post: 05-25-2004, 05:16 AM
-
By arkaoss in forum Hardware & Booting
Replies: 12
Last Post: 10-29-2003, 11:25 PM
-
By unamiccia in forum General Support
Replies: 2
Last Post: 08-31-2003, 02:33 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98

24x Micron MT40A512M16LY-062E IT:E 8Gb DDR4-3200 96-FBGA Memory IC
$349.99

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11
$62.55

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q
$169.00

Lot of (5) Samsung 32GB 2RX4 DDR4-2133 ECC REG RAM M393A4K40BB0-CPB
$875.00

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)
$89.99

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$202.50