Can't access tty using Ctrl+Alt+F1,F2,F3 etc
Here is what I have tried:
$ xev
KeyRelease event, serial 43, synthetic NO, window 0x4a00001,
root 0x1db, subw 0x0, time 23449801, (434,-234), root:(1305,244),
state 0x1c, keycode 67 (keysym 0x1008fe01, XF86Switch_VT_1), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
$ systemctl list-units|grep getty
getty@tty1.service loaded active running Getty on tty1
getty@tty2.service loaded active running Getty on tty2
getty@tty3.service loaded active running Getty on tty3
getty@tty4.service loaded active running Getty on tty4
getty@tty5.service loaded active running Getty on tty5
getty@tty6.service loaded active running Getty on tty6
getty@tty7.service loaded active running Getty on tty7
system-getty.slice loaded active active system-getty.slice
getty.target loaded active active Login Prompts
$ xmodmap -pke
keycode 67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
keycode 68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2
keycode 69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3
keycode 70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4
keycode 71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5
keycode 72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6
keycode 73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7
keycode 74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8
keycode 75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9
$ setxkbmap -print -verbose 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: pc104
layout: us
variant: intl-unicode
options: terminate:ctrl_alt_bksp
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us(intl-unicode)+inet(evdev)+terminate(ctrl_alt_bksp)
geometry: pc(pc104)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us(intl-unicode)+inet(evdev)+terminate(ctrl_alt_bksp)" };
xkb_geometry { include "pc(pc104)" };
};
cat /etc/X11/xorg.conf.d/00-keyboard.conf
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbVariant" "alt-intl-unicode"
EndSection
Xorg log at boot
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "evdev keyboard catchall"
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "libinput keyboard catchall"
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "system-keyboard"
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "Keyboard Defaults"
Information [ 6.294] (II) Using input driver 'libinput' for 'Eee PC WMI hotkeys'
Information [ 6.294] (**) Eee PC WMI hotkeys: always reports core events
Information [ 6.294] (**) Option "Device" "/dev/input/event16"
Information [ 6.294] (**) Option "_source" "server/udev"
Information [ 6.295] (II) event16 - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
Information [ 6.295] (II) event16 - Eee PC WMI hotkeys: device is a keyboard
Information [ 6.296] (II) event16 - Eee PC WMI hotkeys: device removed
Information [ 6.347] (**) Option "config_info" "udev:/sys/devices/platform/eeepc-wmi/input/input16/event16"
Information [ 6.347] (II) XINPUT: Adding extended input device "Eee PC WMI hotkeys" (type: KEYBOARD, id 14)
Information [ 6.347] (**) Option "xkb_model" "pc104"
Information [ 6.347] (**) Option "xkb_layout" "us"
Information [ 6.347] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
Information [ 6.349] (II) event16 - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
Information [ 6.349] (II) event16 - Eee PC WMI hotkeys: device is a keyboard
Information [ 6.350] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
Information [ 6.350] (II) No input driver specified, ignoring this device.
Information [ 6.350] (II) This device may have been added with another device file.
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "evdev keyboard catchall"
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "system-keyboard"
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "Keyboard Defaults"
Information [ 6.359] (II) Using input driver 'libinput' for 'USB Keyboard Consumer Control'
Information [ 6.359] (**) USB Keyboard Consumer Control: always reports core events
Information [ 6.359] (**) Option "Device" "/dev/input/event4"
Information [ 6.359] (**) Option "_source" "_driver/libinput"
Information [ 6.359] (II) libinput: USB Keyboard Consumer Control: is a virtual subdevice
Information [ 6.359] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:0566:3067.0002/input/input4/event4"
Information [ 6.359] (II) XINPUT: Adding extended input device "USB Keyboard Consumer Control" (type: KEYBOARD, id 15)
Information [ 6.359] (**) Option "xkb_model" "pc104"
Information [ 6.359] (**) Option "xkb_layout" "us"
Information [ 6.359] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
I also DON'T have "Keyboard Settings > Advanced > Miscellaneous compatibility options > Special keys handled in server" checked.
Also read this post [https://forum.manjaro.org/t/virtual-consoles-not-working-ctrl-alt-f1-6/3902] but didn't help.
Also tried Ctrl+Alt+Fn+[F1-F2-etc] and it didn't work.
Also tried commenting out "Option "XkbVariant" "alt-intl-unicode"" from /etc/X11/xorg.conf.d/00-keyboard.conf file.
$ chvt [1-2-3] works, I get a prompt.
Also once I get to a tty (via chvt) I can gracefully switch between them using Ctrl+Alt+F1,2,etc as long as I don’t land on a graphical session. I have no other issues with my keyboard, even function and media keys work as expected.
PS: My system
$ neofetch
██████████████████ ████████ gaston@linux-desktop
██████████████████ ████████ --------------------
██████████████████ ████████ OS: Manjaro Linux x86_64
██████████████████ ████████ Kernel: 4.19.13-1-MANJARO
████████ ████████ Uptime: 1 hour, 2 mins
████████ ████████ ████████ Packages: 1539 (pacman)
████████ ████████ ████████ Shell: bash 4.4.23
████████ ████████ ████████ Resolution: 1920x1080
████████ ████████ ████████ DE: KDE
████████ ████████ ████████ WM: KWin
████████ ████████ ████████ WM Theme: breeze
████████ ████████ ████████ Theme: Breath [KDE], Breeze [GTK2/3]
████████ ████████ ████████ Icons: la-capitaine-icon-theme [KDE], Dex_KDE [GTK2/3]
████████ ████████ ████████ Terminal: konsole
Terminal Font: Noto Mono 10
CPU: Intel i5-6600K (4) @ 3.900GHz
GPU: NVIDIA GeForce GTX 1050 Ti
Memory: 2420MiB / 24043MiB
arch-linux x11 xorg keyboard tty
New contributor
add a comment |
Here is what I have tried:
$ xev
KeyRelease event, serial 43, synthetic NO, window 0x4a00001,
root 0x1db, subw 0x0, time 23449801, (434,-234), root:(1305,244),
state 0x1c, keycode 67 (keysym 0x1008fe01, XF86Switch_VT_1), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
$ systemctl list-units|grep getty
getty@tty1.service loaded active running Getty on tty1
getty@tty2.service loaded active running Getty on tty2
getty@tty3.service loaded active running Getty on tty3
getty@tty4.service loaded active running Getty on tty4
getty@tty5.service loaded active running Getty on tty5
getty@tty6.service loaded active running Getty on tty6
getty@tty7.service loaded active running Getty on tty7
system-getty.slice loaded active active system-getty.slice
getty.target loaded active active Login Prompts
$ xmodmap -pke
keycode 67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
keycode 68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2
keycode 69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3
keycode 70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4
keycode 71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5
keycode 72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6
keycode 73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7
keycode 74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8
keycode 75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9
$ setxkbmap -print -verbose 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: pc104
layout: us
variant: intl-unicode
options: terminate:ctrl_alt_bksp
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us(intl-unicode)+inet(evdev)+terminate(ctrl_alt_bksp)
geometry: pc(pc104)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us(intl-unicode)+inet(evdev)+terminate(ctrl_alt_bksp)" };
xkb_geometry { include "pc(pc104)" };
};
cat /etc/X11/xorg.conf.d/00-keyboard.conf
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbVariant" "alt-intl-unicode"
EndSection
Xorg log at boot
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "evdev keyboard catchall"
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "libinput keyboard catchall"
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "system-keyboard"
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "Keyboard Defaults"
Information [ 6.294] (II) Using input driver 'libinput' for 'Eee PC WMI hotkeys'
Information [ 6.294] (**) Eee PC WMI hotkeys: always reports core events
Information [ 6.294] (**) Option "Device" "/dev/input/event16"
Information [ 6.294] (**) Option "_source" "server/udev"
Information [ 6.295] (II) event16 - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
Information [ 6.295] (II) event16 - Eee PC WMI hotkeys: device is a keyboard
Information [ 6.296] (II) event16 - Eee PC WMI hotkeys: device removed
Information [ 6.347] (**) Option "config_info" "udev:/sys/devices/platform/eeepc-wmi/input/input16/event16"
Information [ 6.347] (II) XINPUT: Adding extended input device "Eee PC WMI hotkeys" (type: KEYBOARD, id 14)
Information [ 6.347] (**) Option "xkb_model" "pc104"
Information [ 6.347] (**) Option "xkb_layout" "us"
Information [ 6.347] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
Information [ 6.349] (II) event16 - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
Information [ 6.349] (II) event16 - Eee PC WMI hotkeys: device is a keyboard
Information [ 6.350] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
Information [ 6.350] (II) No input driver specified, ignoring this device.
Information [ 6.350] (II) This device may have been added with another device file.
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "evdev keyboard catchall"
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "system-keyboard"
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "Keyboard Defaults"
Information [ 6.359] (II) Using input driver 'libinput' for 'USB Keyboard Consumer Control'
Information [ 6.359] (**) USB Keyboard Consumer Control: always reports core events
Information [ 6.359] (**) Option "Device" "/dev/input/event4"
Information [ 6.359] (**) Option "_source" "_driver/libinput"
Information [ 6.359] (II) libinput: USB Keyboard Consumer Control: is a virtual subdevice
Information [ 6.359] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:0566:3067.0002/input/input4/event4"
Information [ 6.359] (II) XINPUT: Adding extended input device "USB Keyboard Consumer Control" (type: KEYBOARD, id 15)
Information [ 6.359] (**) Option "xkb_model" "pc104"
Information [ 6.359] (**) Option "xkb_layout" "us"
Information [ 6.359] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
I also DON'T have "Keyboard Settings > Advanced > Miscellaneous compatibility options > Special keys handled in server" checked.
Also read this post [https://forum.manjaro.org/t/virtual-consoles-not-working-ctrl-alt-f1-6/3902] but didn't help.
Also tried Ctrl+Alt+Fn+[F1-F2-etc] and it didn't work.
Also tried commenting out "Option "XkbVariant" "alt-intl-unicode"" from /etc/X11/xorg.conf.d/00-keyboard.conf file.
$ chvt [1-2-3] works, I get a prompt.
Also once I get to a tty (via chvt) I can gracefully switch between them using Ctrl+Alt+F1,2,etc as long as I don’t land on a graphical session. I have no other issues with my keyboard, even function and media keys work as expected.
PS: My system
$ neofetch
██████████████████ ████████ gaston@linux-desktop
██████████████████ ████████ --------------------
██████████████████ ████████ OS: Manjaro Linux x86_64
██████████████████ ████████ Kernel: 4.19.13-1-MANJARO
████████ ████████ Uptime: 1 hour, 2 mins
████████ ████████ ████████ Packages: 1539 (pacman)
████████ ████████ ████████ Shell: bash 4.4.23
████████ ████████ ████████ Resolution: 1920x1080
████████ ████████ ████████ DE: KDE
████████ ████████ ████████ WM: KWin
████████ ████████ ████████ WM Theme: breeze
████████ ████████ ████████ Theme: Breath [KDE], Breeze [GTK2/3]
████████ ████████ ████████ Icons: la-capitaine-icon-theme [KDE], Dex_KDE [GTK2/3]
████████ ████████ ████████ Terminal: konsole
Terminal Font: Noto Mono 10
CPU: Intel i5-6600K (4) @ 3.900GHz
GPU: NVIDIA GeForce GTX 1050 Ti
Memory: 2420MiB / 24043MiB
arch-linux x11 xorg keyboard tty
New contributor
add a comment |
Here is what I have tried:
$ xev
KeyRelease event, serial 43, synthetic NO, window 0x4a00001,
root 0x1db, subw 0x0, time 23449801, (434,-234), root:(1305,244),
state 0x1c, keycode 67 (keysym 0x1008fe01, XF86Switch_VT_1), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
$ systemctl list-units|grep getty
getty@tty1.service loaded active running Getty on tty1
getty@tty2.service loaded active running Getty on tty2
getty@tty3.service loaded active running Getty on tty3
getty@tty4.service loaded active running Getty on tty4
getty@tty5.service loaded active running Getty on tty5
getty@tty6.service loaded active running Getty on tty6
getty@tty7.service loaded active running Getty on tty7
system-getty.slice loaded active active system-getty.slice
getty.target loaded active active Login Prompts
$ xmodmap -pke
keycode 67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
keycode 68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2
keycode 69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3
keycode 70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4
keycode 71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5
keycode 72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6
keycode 73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7
keycode 74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8
keycode 75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9
$ setxkbmap -print -verbose 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: pc104
layout: us
variant: intl-unicode
options: terminate:ctrl_alt_bksp
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us(intl-unicode)+inet(evdev)+terminate(ctrl_alt_bksp)
geometry: pc(pc104)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us(intl-unicode)+inet(evdev)+terminate(ctrl_alt_bksp)" };
xkb_geometry { include "pc(pc104)" };
};
cat /etc/X11/xorg.conf.d/00-keyboard.conf
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbVariant" "alt-intl-unicode"
EndSection
Xorg log at boot
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "evdev keyboard catchall"
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "libinput keyboard catchall"
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "system-keyboard"
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "Keyboard Defaults"
Information [ 6.294] (II) Using input driver 'libinput' for 'Eee PC WMI hotkeys'
Information [ 6.294] (**) Eee PC WMI hotkeys: always reports core events
Information [ 6.294] (**) Option "Device" "/dev/input/event16"
Information [ 6.294] (**) Option "_source" "server/udev"
Information [ 6.295] (II) event16 - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
Information [ 6.295] (II) event16 - Eee PC WMI hotkeys: device is a keyboard
Information [ 6.296] (II) event16 - Eee PC WMI hotkeys: device removed
Information [ 6.347] (**) Option "config_info" "udev:/sys/devices/platform/eeepc-wmi/input/input16/event16"
Information [ 6.347] (II) XINPUT: Adding extended input device "Eee PC WMI hotkeys" (type: KEYBOARD, id 14)
Information [ 6.347] (**) Option "xkb_model" "pc104"
Information [ 6.347] (**) Option "xkb_layout" "us"
Information [ 6.347] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
Information [ 6.349] (II) event16 - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
Information [ 6.349] (II) event16 - Eee PC WMI hotkeys: device is a keyboard
Information [ 6.350] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
Information [ 6.350] (II) No input driver specified, ignoring this device.
Information [ 6.350] (II) This device may have been added with another device file.
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "evdev keyboard catchall"
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "system-keyboard"
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "Keyboard Defaults"
Information [ 6.359] (II) Using input driver 'libinput' for 'USB Keyboard Consumer Control'
Information [ 6.359] (**) USB Keyboard Consumer Control: always reports core events
Information [ 6.359] (**) Option "Device" "/dev/input/event4"
Information [ 6.359] (**) Option "_source" "_driver/libinput"
Information [ 6.359] (II) libinput: USB Keyboard Consumer Control: is a virtual subdevice
Information [ 6.359] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:0566:3067.0002/input/input4/event4"
Information [ 6.359] (II) XINPUT: Adding extended input device "USB Keyboard Consumer Control" (type: KEYBOARD, id 15)
Information [ 6.359] (**) Option "xkb_model" "pc104"
Information [ 6.359] (**) Option "xkb_layout" "us"
Information [ 6.359] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
I also DON'T have "Keyboard Settings > Advanced > Miscellaneous compatibility options > Special keys handled in server" checked.
Also read this post [https://forum.manjaro.org/t/virtual-consoles-not-working-ctrl-alt-f1-6/3902] but didn't help.
Also tried Ctrl+Alt+Fn+[F1-F2-etc] and it didn't work.
Also tried commenting out "Option "XkbVariant" "alt-intl-unicode"" from /etc/X11/xorg.conf.d/00-keyboard.conf file.
$ chvt [1-2-3] works, I get a prompt.
Also once I get to a tty (via chvt) I can gracefully switch between them using Ctrl+Alt+F1,2,etc as long as I don’t land on a graphical session. I have no other issues with my keyboard, even function and media keys work as expected.
PS: My system
$ neofetch
██████████████████ ████████ gaston@linux-desktop
██████████████████ ████████ --------------------
██████████████████ ████████ OS: Manjaro Linux x86_64
██████████████████ ████████ Kernel: 4.19.13-1-MANJARO
████████ ████████ Uptime: 1 hour, 2 mins
████████ ████████ ████████ Packages: 1539 (pacman)
████████ ████████ ████████ Shell: bash 4.4.23
████████ ████████ ████████ Resolution: 1920x1080
████████ ████████ ████████ DE: KDE
████████ ████████ ████████ WM: KWin
████████ ████████ ████████ WM Theme: breeze
████████ ████████ ████████ Theme: Breath [KDE], Breeze [GTK2/3]
████████ ████████ ████████ Icons: la-capitaine-icon-theme [KDE], Dex_KDE [GTK2/3]
████████ ████████ ████████ Terminal: konsole
Terminal Font: Noto Mono 10
CPU: Intel i5-6600K (4) @ 3.900GHz
GPU: NVIDIA GeForce GTX 1050 Ti
Memory: 2420MiB / 24043MiB
arch-linux x11 xorg keyboard tty
New contributor
Here is what I have tried:
$ xev
KeyRelease event, serial 43, synthetic NO, window 0x4a00001,
root 0x1db, subw 0x0, time 23449801, (434,-234), root:(1305,244),
state 0x1c, keycode 67 (keysym 0x1008fe01, XF86Switch_VT_1), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
$ systemctl list-units|grep getty
getty@tty1.service loaded active running Getty on tty1
getty@tty2.service loaded active running Getty on tty2
getty@tty3.service loaded active running Getty on tty3
getty@tty4.service loaded active running Getty on tty4
getty@tty5.service loaded active running Getty on tty5
getty@tty6.service loaded active running Getty on tty6
getty@tty7.service loaded active running Getty on tty7
system-getty.slice loaded active active system-getty.slice
getty.target loaded active active Login Prompts
$ xmodmap -pke
keycode 67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
keycode 68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2
keycode 69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3
keycode 70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4
keycode 71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5
keycode 72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6
keycode 73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7
keycode 74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8
keycode 75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9
$ setxkbmap -print -verbose 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: pc104
layout: us
variant: intl-unicode
options: terminate:ctrl_alt_bksp
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us(intl-unicode)+inet(evdev)+terminate(ctrl_alt_bksp)
geometry: pc(pc104)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us(intl-unicode)+inet(evdev)+terminate(ctrl_alt_bksp)" };
xkb_geometry { include "pc(pc104)" };
};
cat /etc/X11/xorg.conf.d/00-keyboard.conf
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbVariant" "alt-intl-unicode"
EndSection
Xorg log at boot
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "evdev keyboard catchall"
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "libinput keyboard catchall"
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "system-keyboard"
Information [ 6.294] (**) Eee PC WMI hotkeys: Applying InputClass "Keyboard Defaults"
Information [ 6.294] (II) Using input driver 'libinput' for 'Eee PC WMI hotkeys'
Information [ 6.294] (**) Eee PC WMI hotkeys: always reports core events
Information [ 6.294] (**) Option "Device" "/dev/input/event16"
Information [ 6.294] (**) Option "_source" "server/udev"
Information [ 6.295] (II) event16 - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
Information [ 6.295] (II) event16 - Eee PC WMI hotkeys: device is a keyboard
Information [ 6.296] (II) event16 - Eee PC WMI hotkeys: device removed
Information [ 6.347] (**) Option "config_info" "udev:/sys/devices/platform/eeepc-wmi/input/input16/event16"
Information [ 6.347] (II) XINPUT: Adding extended input device "Eee PC WMI hotkeys" (type: KEYBOARD, id 14)
Information [ 6.347] (**) Option "xkb_model" "pc104"
Information [ 6.347] (**) Option "xkb_layout" "us"
Information [ 6.347] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
Information [ 6.349] (II) event16 - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
Information [ 6.349] (II) event16 - Eee PC WMI hotkeys: device is a keyboard
Information [ 6.350] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
Information [ 6.350] (II) No input driver specified, ignoring this device.
Information [ 6.350] (II) This device may have been added with another device file.
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "evdev keyboard catchall"
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "system-keyboard"
Information [ 6.359] (**) USB Keyboard Consumer Control: Applying InputClass "Keyboard Defaults"
Information [ 6.359] (II) Using input driver 'libinput' for 'USB Keyboard Consumer Control'
Information [ 6.359] (**) USB Keyboard Consumer Control: always reports core events
Information [ 6.359] (**) Option "Device" "/dev/input/event4"
Information [ 6.359] (**) Option "_source" "_driver/libinput"
Information [ 6.359] (II) libinput: USB Keyboard Consumer Control: is a virtual subdevice
Information [ 6.359] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:0566:3067.0002/input/input4/event4"
Information [ 6.359] (II) XINPUT: Adding extended input device "USB Keyboard Consumer Control" (type: KEYBOARD, id 15)
Information [ 6.359] (**) Option "xkb_model" "pc104"
Information [ 6.359] (**) Option "xkb_layout" "us"
Information [ 6.359] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
I also DON'T have "Keyboard Settings > Advanced > Miscellaneous compatibility options > Special keys handled in server" checked.
Also read this post [https://forum.manjaro.org/t/virtual-consoles-not-working-ctrl-alt-f1-6/3902] but didn't help.
Also tried Ctrl+Alt+Fn+[F1-F2-etc] and it didn't work.
Also tried commenting out "Option "XkbVariant" "alt-intl-unicode"" from /etc/X11/xorg.conf.d/00-keyboard.conf file.
$ chvt [1-2-3] works, I get a prompt.
Also once I get to a tty (via chvt) I can gracefully switch between them using Ctrl+Alt+F1,2,etc as long as I don’t land on a graphical session. I have no other issues with my keyboard, even function and media keys work as expected.
PS: My system
$ neofetch
██████████████████ ████████ gaston@linux-desktop
██████████████████ ████████ --------------------
██████████████████ ████████ OS: Manjaro Linux x86_64
██████████████████ ████████ Kernel: 4.19.13-1-MANJARO
████████ ████████ Uptime: 1 hour, 2 mins
████████ ████████ ████████ Packages: 1539 (pacman)
████████ ████████ ████████ Shell: bash 4.4.23
████████ ████████ ████████ Resolution: 1920x1080
████████ ████████ ████████ DE: KDE
████████ ████████ ████████ WM: KWin
████████ ████████ ████████ WM Theme: breeze
████████ ████████ ████████ Theme: Breath [KDE], Breeze [GTK2/3]
████████ ████████ ████████ Icons: la-capitaine-icon-theme [KDE], Dex_KDE [GTK2/3]
████████ ████████ ████████ Terminal: konsole
Terminal Font: Noto Mono 10
CPU: Intel i5-6600K (4) @ 3.900GHz
GPU: NVIDIA GeForce GTX 1050 Ti
Memory: 2420MiB / 24043MiB
arch-linux x11 xorg keyboard tty
arch-linux x11 xorg keyboard tty
New contributor
New contributor
edited Jan 12 at 17:24
mosvy
6,2711425
6,2711425
New contributor
asked Jan 12 at 6:10
harogastonharogaston
1064
1064
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
harogaston is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494067%2fcant-access-tty-using-ctrlaltf1-f2-f3-etc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
harogaston is a new contributor. Be nice, and check out our Code of Conduct.
harogaston is a new contributor. Be nice, and check out our Code of Conduct.
harogaston is a new contributor. Be nice, and check out our Code of Conduct.
harogaston is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494067%2fcant-access-tty-using-ctrlaltf1-f2-f3-etc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown