Keyboard doesn't work if X was started as user

Tassilo Horn tassilo at member.fsf.org
Mon Sep 10 13:25:37 PDT 2007


Hi all,

today I upgraded to Xorg 7.3 and now my keyboard doesn't work anymore if
I started X as normal user.  It seems that no keyboard input is accepted
except Ctrl-Alt-{Del,F*}.  Those shortcuts work as expected.

If I startx as root everything works just fine.

When started as user the only warning I get is

,----
| The XKEYBOARD keymap compiler (xkbcomp) reports:
| > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
| >                   Ignoring extra symbols
| Errors from xkbcomp are not fatal to the X server
`----

but I also had that with xorg-server-1.3, and then it worked well.  When
started as root I get this warning, too.  So this shouldn't cause the
troubles.

/var/log/Xorg.0.log contains to warnings and no errors.

I recompiled all drivers, but still no luck.  Because I thought it may
have something to do with the hal hotplug stuff, I tried to recompile
the X11 server without hal support.  This didn't help, too.

My keyboard config is

,----[ /etc/X11/xorg.conf ]
| Section "InputDevice"
|   Identifier  "Keyboard"
|   Driver      "kbd"
|   Option      "XkbModel"        "pc105"
|   Option      "XkbRules"        "xorg"
| 
|   # German Dvorak Type II layout
|   Option      "XkbLayout"       "de"
|   Option      "XkbVariant"      "dvorak"
| 
|   # Make CapsLock a third Control!
|   Option      "XkbOptions"      "ctrl:nocaps"
| EndSection
`----

It looks like a problem with permissions, so I checked that
/usr/lib/xorg/modules/input/kbd_drv.so is readable by the user which it
has.  It uses the same permissions as the working mouse_drv.so.

Then I checked the device permissions:

,----
|   /dev/input:
|   total used in directory 0 available 10168
|   drwxr-xr-x  4 root root    280 2007-09-10 21:14 .
|   drwxr-xr-x 12 root root   2820 2007-09-10 22:13 ..
|   drwxr-xr-x  2 root root     80 2007-09-10 21:14 by-id
|   drwxr-xr-x  2 root root    140 2007-09-10 21:14 by-path
|   crw-------  1 root root 13, 64 2007-09-10 21:14 event0
|   crw-------  1 root root 13, 65 2007-09-10 21:14 event1
|   crw-------  1 root root 13, 66 2007-09-10 21:14 event2
|   crw-------  1 root root 13, 67 2007-09-10 21:14 event3
|   crw-------  1 root root 13, 68 2007-09-10 21:14 event4
|   crw-------  1 root root 13, 69 2007-09-10 21:14 event5
|   crw-------  1 root root 13, 70 2007-09-10 21:14 event6
|   crw-r--r--  1 root root 13, 63 2007-09-10 21:14 mice
|   crw-r--r--  1 root root 13, 32 2007-09-10 21:14 mouse0
|   crw-r--r--  1 root root 13, 33 2007-09-10 21:14 mouse1
`----

I tried giving all those event interfaces 644 permissions, but this also
didn't help.

Now I'm really going out of ideas.

Does anyone know what I could try?

Bye,
Tassilo




More information about the xorg mailing list