[arch-general] security problem in X with screen saver

Maciej Sitarz macieksitarz at wp.pl
Thu Jan 19 04:29:33 EST 2012


Hi,
a quick fix I developed for my Fedora 16 box:

1. Dump the xkb:
$ xkbcomp $DISPLAY xkb.dump
2. Make a backup
$ cp xkb.dump xkb.dump_orig
3. Remove all entries related to XF86ClearGrab and XF86Ungrab
4. Apply the XKB entries:
$ xkbcomp xkb.dump $DISPLAY

In case of any problems restore the original XKB entries:
$ xkbcomp xkb.dump_orig $DISPLAY

This should be applied after each Xorg start.
Better way to fix this would be finding real XKB config file, but didn't
manage to find any entries in /etc or /usr. It's probably compiled into
libX11.so.

Regards
-- 
Maciej Sitarz


More information about the arch-general mailing list