#483578 xserver-xorg-input-kbd: Can't switch to virtual console

Package:
xserver-xorg-input-kbd
Source:
xserver-xorg-input-keyboard
Description:
X.Org X server -- keyboard input driver
Submitter:
"Alexandra N. Kossovsky"
Date:
2026-02-11 18:31:02 UTC
Severity:
important
#483578#5
Date:
2008-05-29 15:13:34 UTC
From:
To:
I'm not sure that this bug belongs to xserver-xorg-input-kbd, but I've
tried to do my best guess.  After yesterday upgrade from etch to lenny,
I can't switch from X to virtual console using Ctrl-Alt-Fn.  At the same
time, chvt works.

I've tried both lenny version of xserver-xorg-input-kbd (1:1.2.2-3) and
the version from incoming (1:1.3.1-1).

0 bash$ grep VT /var/log/Xorg.0.log
(**) Option "DontVTSwitch" "false"
(++) using VT number 9
0 bash$ xev
.............
KeyPress event, serial 32, synthetic NO, window 0x3e00001,
    root 0x66, subw 0x0, time 27604954, (-804,-212), root:(327,603),
    state 0x0, keycode 64 (keysym 0xffe7, Meta_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 32, synthetic NO, window 0x3e00001,
    root 0x66, subw 0x0, time 27604957, (-804,-212), root:(327,603),
    state 0x8, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x3e00001,
    root 0x66, subw 0x0, time 27605888, (-804,-212), root:(327,603),
    state 0xc, keycode 67 (keysym 0x1008fe01, XF86_Switch_VT_1), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x3e00001,
    root 0x66, subw 0x0, time 27606460, (-804,-212), root:(327,603),
    state 0xc, keycode 64 (keysym 0xffe7, Meta_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x3e00001,
    root 0x66, subw 0x0, time 27606478, (-804,-212), root:(327,603),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
.......

For xev, I've pressed Alt,Ctrl and, after that, F1. However, I do not
see KeyPress for XF86_Switch_VT_1 -- only KeyRelease.

#483578#10
Date:
2008-05-29 15:39:16 UTC
From:
To:
Please provide your full xorg.conf and Xorg log.

Cheers,
Julien

#483578#15
Date:
2008-05-29 17:09:34 UTC
From:
To:
Attached.

Also, I'm attaching my keymap (loaded with "xkbcomp ~/keymap.xkb
$DISPLAY"). I can't switch from X to virtual console with both system keymap
(from xorg.conf) and with my user keymap; however, xev was run with my user
keymap.

#483578#22
Date:
2008-06-09 10:52:55 UTC
From:
To:
I've resolved my problem by removing
Option		"XkbVariant"	",winkeys"
from xorg.conf.

"winkeys" variant does not exist now for "ru" layout.  However, system
behaviour is not valid:
1. "winkeys" was a de-facto standard variant for ru layout, and it was
   broken without any notices. I.e. all Russian users have broken
   xkbvariant as a result of etch->lenny upgrade.
2. Even when I load my own keymap ove broken xorg.conf, the problem
   exists.

#483578#27
Date:
2010-03-06 15:36:20 UTC
From:
To:
If see some related discussion at
http://bugs.freedesktop.org/show_bug.cgi?id=21302
but I know nothing about all this, so fell free to comment.

Brice

#483578#32
Date:
2026-02-11 18:28:30 UTC
From:
To:
Hello,

Reassigning to xkeyboard-config which is where these happen.

Samuel

Brice Goglin, le sam. 06 mars 2010 16:36:20 +0100, a ecrit: