After updating xorg, I can't use ctrl+alt+Fn keys to switch to a virtual console. ctrl+alt+bkspace works though (restarts X) /etc/init.d/xdm stop and killall -9 gdm X both freeze X/my whole system (can't tell the difference as I can't log in remotely) Reproducible: Always Steps to Reproduce: 1. emerge -u xorg-x11 (to version 6.8.0) 2. restart X 3a. press ctrl+alt+Fn 3b. Try to stop X Actual Results: a. Nothing Happens b. X freezes Expected Results: a. Switch to virtual console n b. X gets stopped/killed Gentoo Base System version 1.5.3 Portage 2.0.51_pre20 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.7-ck1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz) ================================================================= System uname: 2.6.7-ck1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mtune=pentium4 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://194.117.158.28 http://194.117.158.29 ftp://194.117.158.28/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm atm avi berkdb cdr crypt directfb divx4linux dvd encode
Please reassign this bug to the responsible herd, x11@gentoo.org (taken from x11-base/xorg-x11/metadata.xml).
I have just upgraded to xorg-x11-6.8.0 myself and Ctrl-Alt-{Fn,backspace} are working fine for me. Please post (as an attachment) your xorg log file from /var/log Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8) ================================================================= System uname: 2.6.8 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://mirror.pacific.net.au/gentoo http://mirror.pacific.net.au/linux/Gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X acpi alsa apache2 avi bcmath berkdb bitmap-fonts bzlib caps cdr crypt cups divx4linux doc dvd encode fam gd gdbm gif gnome gpm gtk gtk2 guile imap imlib java jikes jpeg ldap libwww mad memlimit mmx motif mozilla mpeg mysql ncurses offensive oggvorbis opengl pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl svg svga tcltk theora tiff truetype x86 xml2 xmms xprint xv zlib"
I wonder if it has much to do with gcc-3.4 and p4 combo.
I don't know about GCC-3.4 and P$. I am using GCC-3.3.4 and AMD Athlon XP 2600 and also have the same problem after my upgrade last night to Xorg-6.8.0. Xorg.log does show some problems whit opening compiled keymap: <snip> (II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD) (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) (II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other) (EE) Couldn't open compiled keymap file /usr/X11R6/lib/X11/xkb/compiled/server-0.xkm (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap (II) Mouse1: ps2EnableDataReporting: succeeded Could not init font path element /usr/share/fonts/CID/, removing from list! Could not init font path element /usr/share/fonts/local/, removing from list! Could not init font path element /usr/share/fonts/Speedo/, removing from list! SetClientVersion: 0 8 <snip>
Looking into this, although stabbing in the dark. Could someone who doesn't suffer this issue (Hi Seemant!) please post their xorg log, output of "setxkbmap -print", and the relevant "xev" output produced when you press ctrl+alt+F1.
Ignore that.. don't need it. I found the issue. The bug is present with the following section in my xorg.conf : Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbLayout" "uk" EndSection However removing the Xkblayout line fixes the issue: Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection ...except that my keys are a bit screwed up! Can anyone confirm or deny this behaviour? Are there other broken XkbLayout's too (I note a .au on the CC list..) ?
Taking that out fixed it for me too I guess it's a good job that not many keys are different, but piping, quoting and typing email addresses might take a bit longer than normal...
as dsd just discovered in
as dsd just discovered in £-dev, change it from uk to gb
Yes. I think the "uk" layout is being pulled in from keymaps (this is the old/deprecated way of doing things, even with 6.7). We should be using "gb" for UK keyboards. I'm going to file a bug with Xorg just so that they are aware of the behaviour change - not sure if they'll want to fix it. Is anyone else having the issue with other XkbLayout settings?
my xorg.conf already is set this way Section "InputDevice" Identifier "Keyboard0" Driver "kbd" the only place I have keymap="us" is in /etc/rc.conf. Could this be cauysing the problem
Created attachment 39351 [details, diff] fix-bad-uk-keyboard-settings.patch We could use another sed hack to stop other users running into the same problem (auto-replace uk with gb for XkbLayout settings).
Brad: Please post the output of "setxkbmap -print"
bcramer@bigdaddy ~ $ setxkbmap -print xkb_keymap { xkb_keycodes { include "xfree86+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc/pc(pc101)+pc/us" }; xkb_geometry { include "pc(pc101)" }; };
Odd... could you just test if running "setxkbmap gb" helps? Also, does running "chvt 1" as root change to vt/1?
Hmm..looking at your log messages, doesn't look normal. Does the directory /usr/X11R6/lib/X11/xkb/compiled exist? how about the file /usr/X11R6/lib/X11/xkb/compiled/server-0.xkm before and after starting X? Also check that you did run etc-update after installing xorg as I think it replaces some keymap related things. Could you also please post your xorg.conf as an attachment.
Incidentally, Daniel, that dir's a symlink to /var/lib/xkb/. Just so you know.
*** This bug has been marked as a duplicate of 63795 ***