Results 1 to 2 of 2

Thread: Adding more virtual terminals in runlevel 2

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    23

    Adding more virtual terminals in runlevel 2

    I saw that there were a few posts about removing virtual terminals in the past, but I'm interested in adding a few more. I'd like at least eight, but twelve or more would be nice.
    I looked at the man page for ttys, but I didn't understand which part mapped the virtual terminal to a key.

    Here's the man page. It looks like it's just a little script.

    mknod -m 660 /dev/ttyS0 c 4 64 # base address 0x03f8
    mknod -m 660 /dev/ttyS1 c 4 65 # base address 0x02f8
    mknod -m 660 /dev/ttyS2 c 4 66 # base address 0x03e8
    mknod -m 660 /dev/ttyS3 c 4 67 # base address 0x02e8
    chown root:tty /dev/ttyS[0-3]

    Can I just add a few lines here to add some more virtual terminals, at least up to seven?

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    no.
    ls /dev/tty*
    should show you, that they're already prepared.

    You add them in inittab:
    Code:
    # /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>
    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
    8:2345:respawn:/sbin/getty 38400 tty8
    9:2345:respawn:/sbin/getty 38400 tty9
    10:2345:respawn:/sbin/getty 38400 tty10
    tty7 is usually used for X11 so leave it out.
    Misguided knoppixuses decided to boot with X11 on tty3 or 5.
    Gee!
    Pfui![/code]

Similar Threads

  1. Difficulty Changing Default Runlevel
    By zrooze in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 06-10-2005, 04:55 PM
  2. How to boot to runlevel 5 after hdd install.
    By rniles in forum General Support
    Replies: 4
    Last Post: 12-23-2004, 01:50 AM
  3. Problem booting to runlevel 5
    By Panikos in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 09-29-2004, 02:37 AM
  4. Knoppix in a Virtual PC virtual machine hosted under Win XP
    By kenblood in forum MS Windows & New to Linux
    Replies: 7
    Last Post: 09-07-2004, 09:24 AM
  5. Terminals !!!
    By bhavin in forum General Support
    Replies: 0
    Last Post: 05-25-2004, 05:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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

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

$285.90



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

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

$62.50



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

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

$573.98



HYNIX HMA84GR7AFR4N-VK 32GB PC4-2666V 2RX4 RDIMM MEMORY HMA84GR7AFR4N-VK picture

HYNIX HMA84GR7AFR4N-VK 32GB PC4-2666V 2RX4 RDIMM MEMORY HMA84GR7AFR4N-VK

$189.99



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

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

$826.09



128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK picture

128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK

$799.00



32GB KIT SAMSUNG M393A2K43CB2-CVFC0 PC4-2933Y-RE2-12-DC1/MH1 RDIMM ECC 16GBX2 picture

32GB KIT SAMSUNG M393A2K43CB2-CVFC0 PC4-2933Y-RE2-12-DC1/MH1 RDIMM ECC 16GBX2

$195.00



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1 picture

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1

$399.00



Windows 11 Pro Install/Recovery/Repair USB Flash Drive picture

Windows 11 Pro Install/Recovery/Repair USB Flash Drive

$35.00