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
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1299.99



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$149.99



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



Unused IBM 09P0037 MAINBOARD For  RS/6000 7044-170 P-Series picture

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series

$375.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$108.92



IBM Power S824 12Bay 4U Server - 2x Power8 CPU, 512GB DDR4, MT: 8286-42A picture

IBM Power S824 12Bay 4U Server - 2x Power8 CPU, 512GB DDR4, MT: 8286-42A

$1731.00



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$349.99



IBM SERVER SLED WITH HDD SCSI 8.8GB ,P005043441, AS IS,UNTESTED picture

IBM SERVER SLED WITH HDD SCSI 8.8GB ,P005043441, AS IS,UNTESTED

$165.00



IBM 02AN553  01LL325 IBM I/OADAPTER PCIe / PCN  Internal Server Systems Adapter picture

IBM 02AN553 01LL325 IBM I/OADAPTER PCIe / PCN Internal Server Systems Adapter

$199.99



DELL POWEREDGE HP IBM SERVER XEON GOLD 5415+ 8 CORE PROCESSOR 2.9 GHZ SRMGC  picture

DELL POWEREDGE HP IBM SERVER XEON GOLD 5415+ 8 CORE PROCESSOR 2.9 GHZ SRMGC

$1299.00