Re: X.org keyboard problem



> Christopher Browne wrote:
>> I have recently been running into a keyboard problem on my laptop
>> running 5.4 and x.org...
>> When I run startx, as user 'cbbrowne,' it decides not to properly map
>> the keyboard.  I have two choices:
>>  - If I press normal keys on the keyboard, it chooses to switch
>>    between resolutions
>>  - The only other thing I can do is [ctrl]-[alt]-[Backspace], to
>>    quit
>> If I'm logged in as root, all is well.
>> The stderr output from xinit is, as follows; note that the xkbcomp
>> complaints do not occur if I am logged in as root.
>> I don't see anything in .xinitrc or such that seems relevant...
>> ----------------------------------------------------
>
> snip
>
>> 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
>> (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 22 21:23:22 2006
>> (==) Using config file: "/etc/X11/xorg.conf"
>> expected keysym, got XF86_Switch_VT_1: line 8 of xfree86
>
> Snip
>
> The Xorg stuff runs different xorg.conf files for root and the normal
> users. I think the set that root uses are in root's home directory,
> while the ones you show the results of are in /etc as shown above.
>
> It sounds like the etc/xorg.conf copy has gotten corrupted somehow.
>
> You might try copying root/xorg.conf to /etc before you start X or at
> least diff'ing the two to see where the differences in the files are.
>
> Good Luck,
> Bob

That was one of the possibilities I was thinking about; the thing is,
the log that I get, running as root, is thus...

============================================================
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: FreeBSD 5.4 i386 [ELF] 
Current Operating System: FreeBSD mobile.int.cbbrowne.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     root@xxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 04 April 2005
	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 28 13:15:58 2006
(==) Using config file: "/etc/X11/xorg.conf"
============================================================

That last line tells me that it *is* using the same xorg.conf file in
/etc/X11...
-- 
let name="cbbrowne" and tld="gmail.com" in name ^ "@" ^ tld;;
http://cbbrowne.com/info/slony.html
Rules of  the Evil Overlord #20. "Despite  its proven stress-relieving
effect, I  will not  indulge in maniacal  laughter. When  so occupied,
it's too  easy to miss  unexpected developments that a  more attentive
individual could adjust to accordingly."
<http://www.eviloverlord.com/>
.



Relevant Pages

  • Re: ukbd attachment and root mount
    ... sometimes root filesystem is mounted first. ... Another (with custom kernel, zfs root): ... So I stuck at mountroot prompt without a keyboard to enter anything. ... This motherboard has PS/2 emulation for USB devices (often called "USB ...
    (freebsd-stable)
  • Re: What do you hear as the root of this chord?
    ... Maybe the keyboard sonorities would imply something different ... Joey Goldstein wrote: ... > little chord does not have. ... > by the word "root"? ...
    (rec.music.makers.guitar.jazz)
  • Re: Keyboard Repeat Rate
    ... > root so that I can issue kbdcontrol -r fast. ... Do you mean that you have your system set to load X immediately upon ... and that you do not set the keyboard repeat rate before then? ... issue that command. ...
    (freebsd-questions)
  • Re: Debian Etch Installation. Root password doesnt works, why?
    ... make sure the keyboard works normally. ... You can reset the password by: ... remount root directory ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: [SOLUTION?] Re: No input devices in wheezy
    ... Doing a hard reboot, I can boot into recovery mode and from there ... keyboard and mouse work fine. ... root and coming back to the login screen, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)