• [debian-stretch] unable to switch to VT

    From Robert Komar@21:1/5 to alb on Sat Dec 24 11:29:42 2016
    alb <al.basili@gmail.com> wrote:
    Hi there,

    I've googled around but I haven't found much about this. In my current GNU/Linux
    distro:

    $cat /etc/issue
    Debian GNU/Linux stretch/sid \n \l

    $cat /etc/debian_version
    stretch/sid

    I'm unable to switch to virtual terminal neither through the Ctrl+Alt+Fn nor through 'chvt'.

    Any idea why is that?

    Al

    The standard consoles are configured in /etc/inittab. You should have
    entries like the following (for the first two consoles):

    c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux c2:12345:respawn:/sbin/agetty 38400 tty2 linux
    (repeat last line for c3/tty3...)

    I'm not a debian expert; maybe there's a tool for enabling the
    terminals. If not, you can edit /etc/inittab and put them in by
    hand, and then reboot.

    Cheers,
    Rob Komar

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Teemu Likonen@21:1/5 to All on Sat Dec 24 22:15:16 2016
    Robert Komar [2016-12-24 11:29:42-08] wrote:

    The standard consoles are configured in /etc/inittab. You should have entries like the following (for the first two consoles):

    c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux c2:12345:respawn:/sbin/agetty 38400 tty2 linux
    (repeat last line for c3/tty3...)

    Debian uses systemd (by default) so /etc/inittab is not used. It seems
    that virtual terminals are managed by getty.target and
    getty@ttyX.service units.

    systemctl status getty.target
    systemctl status system-getty.slice
    systemctl status getty@tty1.service
    systemctl status getty@tty2.service
    ...

    But I'm pretty sure that those units are active and running. The problem
    with vt changing is somewhere else.

    --
    /// Teemu Likonen - .-.. <https://github.com/tlikonen> //
    // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQEcBAEBCAAGBQJYXtdUAAoJEJM6NQQefq1RKH4H/0DVHFkwDBtFU/s0myi3Myu9 YvsFycy4/oeDL3R987JhbQBxieoELN8SOdolfhrKA4m4rr5/pknaQER63THQuxmx 5UTzD1/QXqQaBthBMjXgXM43wBQszM9g1tai67MtJ4IQ5EMV2hTmL7XcPHfbfWx7 HJbHAuGcYEOT6s81G8r5Hg6vXv2eSQQF7JO71+98smctzzhv0w749I053oVBdRiJ 8lJh6AEYQzDInP9RmAxyGYqLgOgH4M2vG7efzCpk3vvwxQQeHVsCt8zrccfuaG6e G5paSUDmwDfHSeRMI3t3I+3crgW/DhdkH45Kq7WyXpmMF4qrEhWDrwPfvxcFUiM=7O3e
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)