Re: Strange problem with X

"Lucas C. Villa Real" <[email protected]>
Newsgroups gmane.linux.distributions.gobo.general
Message-ID <CAAvzgtbeqqUimctYiaP-6ytJ5u0VLefzt9Qyz-B8xnwyiVpKxg@mail.gmail.com>
On Fri, Aug 3, 2012 at 12:37 PM, Z.B. <[email protected]> wrote:
> When transferred a Gobo-installation to another machine, I met a strange
> problem: the X-Window won't start anymore, complaining:
>
>   (EE) XKB: Couldn't compile keymap
>   XKB: Failed to compile keymap
>   Keyboard initialization failed. This could be a missing or incorrect setup
>   of xkeyboard-config.
>
> The strange thing about this is that the same system (I made a copy) works
> without any problems on different machine; but even on the troublesome one
> it's working as long, as I'm starting X as root - then it must be something
> permission-related.
>
> Googling around, found some tips, like this one:
>
> http://archive.linuxfromscratch.org/mail-archives/blfs-support/2011-February/068215.html
>
> ...but I haven't got any /var/lib/xkb in the system, and - as I wrote - it's
> working in case of root user (and as any user on the other machine).
>
> Any clues, what should be checked in case of Gobo installation?

I do have a directory named /var/lib/xkb, which is empty by default.
It shouldn't hurt to create it for testing purposes.

One thing is not clear to me: did you copy the installation over to a
new HDD, or did you move your HDD to another machine? If you did the
former, then it's possible that the permission bits of some files got
screwed during the copy (e.g.: setuid/setgid bits).

It could also be that Udev or HAL are not starting correctly, but that
would be expected only if you have changed your kernel during the
transition. (or if some directory was removed during the transition to
the new machine)

Thanks,

-- 
Lucas
"If you're looking for a reason I've a reason to give: pleasure,
little treasure"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.