Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Virtual terminals?

  1. #1
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528

    Question Virtual terminals?

    Does anyone have a clue as to why the virtual terminals that used to be easily accessed on version 5 with ctrl-F1, etc., are not available to me on version 6+?

    I've seen others refer to their use, but I can't get to them.

    Cheers!
    Krishna

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    I am not sure that I understand your problem, but if I am inside the grahpical desktop environment then I can press CTRL-ALT-F1 in order to get a virtual console with the user root logged in. If I want to return to the graphical desktop environment then I press ALT-F5.

  3. #3
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Yes, I know - that's what's not working.

  4. #4
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Did you write your own /etc/X11/xorg.conf? According to xorg's man page exists an option to disable virtual terminal support (DontVTSwitch). If this option is set to true then you cannot use the virtual terminals while the xserver is running.

  5. #5
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    No, my xorg.conf is created freshly on boot, using options (usually):
    Code:
    knoppix xmodule=svga screen=1024x768
    The resulting file has no "VT" at all. I had a monitor go bad and just developed this strategy for the replacement - but NO system I've ever booted Knoppix 6 on has ever allowed me to switch to another VT.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    Can you check in your /etc/default/console-setup if the line:
    ACTIVE_CONSOLES="/dev/tty[1-4]" is commented.

    This line specifies the number of virtual consoles in the system. I set it to 1-2 to reduce memory usage instead of 1-4. This Ctrl+Alt+F1 to F4.
    If it is commented may be that's the reason you are not getting any

  7. #7
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    There is another config file responsible for the virtual consoles /etc/inittab

    The lines that begin with 1:12345, 2:12345, etc represent the virtual consoles. I commented out 3 and 4 and I am not sure which of the 2 config files is making the difference, but you can try both and see for yourself

  8. #8
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by mecho View Post
    There is another config file responsible for the virtual consoles /etc/inittab

    The lines that begin with 1:12345, 2:12345, etc represent the virtual consoles. I commented out 3 and 4 and I am not sure which of the 2 config files is making the difference, but you can try both and see for yourself
    Well, I don't see any problems, but I'll show what seems relevant. These should be the vanilla default setup choices - I never set them.
    Code:
    inittab:
    # The "id" field MUST be the same as the last
    # characters of the device (after "tty").
    #
    # Format:
    #  <id>:<runlevels>:<action>:<process>
    #
    # Note that on most Debian systems tty7 is used by the X Window System,
    # so if you want to add more getty's go ahead but skip tty7 if you run X.
    #
    
    # 1:12345:respawn:/bin/bash -login < /dev/tty1 >/dev/tty1 2>&1
    1:12345:respawn:bash -login </dev/tty1 >/dev/tty1 2>&1
    2:12345:respawn:bash -login </dev/tty2 >/dev/tty2 2>&1
    3:12345:respawn:bash -login </dev/tty3 >/dev/tty3 2>&1
    4:12345:respawn:bash -login </dev/tty4 >/dev/tty4 2>&1
    
    # X mode
    x0:5:wait:sleep 2
    x1:5:respawn:/etc/init.d/knoppix-startx start
    
    console-setup:
    # Setup these consoles.  Most people do not need to change this.
    ACTIVE_CONSOLES="/dev/tty[1-4]"


    Cheers anyway!
    Krishna

  9. #9
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    Nobody really uses virtual consoles, but it does not mean it should not work .
    You can try sudo chvt 1 and see what error comes up, then google it for more info. Sorry I could not help more

  10. #10
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by mecho View Post
    Nobody really uses virtual consoles, but it does not mean it should not work .
    You can try sudo chvt 1 and see what error comes up, then google it for more info. Sorry I could not help more
    I think you're right about it being relatively unimportant; it just kinda bugged me. chvt works nicely, and when in virtual terminal 1 or 2 (text mode), ctrl-alt-F5 works. However, it takes me back to the GUI, where ctrl-alt-F2 (in the LXterm app) produces ;7Q and no "action." Just curious...


    Thanks!
    Krishna

Page 1 of 2 12 LastLast

Posting Permissions

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


WD Blue 3D NAND 1TB 2.5

WD Blue 3D NAND 1TB 2.5" SATA Solid State Drive WDBNCE0010PNC-WRSN 99% HEALTH

$80.00



Dell Pro Max NVIDIA GB10 Blackwell 128GB LPDDR5X 2TB M.2 SSD DGX OS7 picture

Dell Pro Max NVIDIA GB10 Blackwell 128GB LPDDR5X 2TB M.2 SSD DGX OS7

$4350.00



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro

$539.04



Western Digital 1TB 3.5

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive

$29.99



Netac 1TB M.2 2280 Internal SSD PCIe Gen3.0x4 NVMe Solid State Drive PC Laptop picture

Netac 1TB M.2 2280 Internal SSD PCIe Gen3.0x4 NVMe Solid State Drive PC Laptop

$129.99



1TB 2.5” SATA Laptop HDD Hard Drive Mixed Brand Tested Working Lot🔥🔥 picture

1TB 2.5” SATA Laptop HDD Hard Drive Mixed Brand Tested Working Lot🔥🔥

$24.50



Acer Aspire 14

Acer Aspire 14" AI Copilot+PC Laptop Core Ultra 5 226V Gen 4 ARC 16GB 1TB Refurb

$438.51



Acer Aspire 16 16

Acer Aspire 16 16" Laptop Core Ultra 5 226V S2 16GB RAM 1TB SSD Arc Refurbished

$533.51



External Solid State Drive USB 3.2 Gen2, 1TB SSD External Hard Drive with C to A picture

External Solid State Drive USB 3.2 Gen2, 1TB SSD External Hard Drive with C to A

$100.00



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro

$375.05