Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152938 - X from GLI / 2006.1 does not allow VT switch
Summary: X from GLI / 2006.1 does not allow VT switch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-26 18:16 UTC by Adam K
Modified: 2007-03-03 18:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam K 2006-10-26 18:16:12 UTC
Installed Gentoo from GLI 2006.1 DVD, networkless install.

Startx and unable to change VTs.  Ctrl-Alt-Backspace, and from commandline, I can change VTs.

Did some digging, and found that /var/lib/xkb/compiled is not created.  Created directory, and now am able to switch VTs from within X.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-27 07:30:39 UTC
Which package normally makes that directory?

The code in catalyst regarding that directory is this:

# If /usr/lib/X11/xkb/compiled then make it tmpfs
if [ -d /usr/lib/X11/xkb/compiled ]
then
    echo "tmpfs /usr/lib/X11/xkb/compiled   tmpfs   defaults    0 0" >> \
        /etc/fstab
fi

It should be setting up tmpfs on that location, unless it doesn't exist.

Also, you're using startx?

Now, I don't even *have* a /usr/lib/X11/xkb on my system, and I can switch terminals just fine.  I'm wondering if it might be something else causing the problem, instead?
Comment 2 Adam K 2006-10-27 11:51:33 UTC
There is no such entry in my fstab - This is a very very basic GLI NCurses install.  I can attach the ClientConfiguration.xml and InstallProfile.xml if it would help.

There is no /usr/lib/X11/xkb directory on the system.

I looked in /var/log/kdm.log, and found a line advising that xkbcomp reports:
> Error: Cannot open "/usr/share/X11/xkb/compiled/server-0.xkm" to write keyboard description
> Exiting

Chasing this directory tree down, it is sym-linked to end up at /var/lib/xkb
do a mkdir /var/lib/xkb and suddenly the xkb can be complied correctly, and VT swtiching works.

The `if [ -d /usr/lib/X11/xkb/compiled ]` fails, since the target of the symlink doesn't exist.
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2006-10-27 11:59:09 UTC
Oh, this is on an install done with the installer? I thought it was on the Live CD/DVD. *sigh*
Comment 4 Preston Cody (RETIRED) gentoo-dev 2007-01-06 21:43:00 UTC
My guess is that this was an xorg-x11 7+ issue that he ran into when installing.
Don't think the installer was at fault here.
Comment 5 Preston Cody (RETIRED) gentoo-dev 2007-03-03 18:25:33 UTC
closing as the xorg 7+ is now more stable.  please reopen if you see this issue in 2007.0