public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-hardened] Xorg fails to fork therefore cannot invoke xkbcomp
@ 2009-06-03 13:50 atoth
  2009-06-03 20:15 ` mino
  0 siblings, 1 reply; 2+ messages in thread
From: atoth @ 2009-06-03 13:50 UTC (permalink / raw
  To: gentoo-hardened

Xorg.log
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "hu,us"
(**) Option "xkb_variant" "standard"
(**) Option "xkb_options" "grp:shift_toggle,compose:ralt"
(EE) XKB: Could not invoke xkbcomp
(EE) XKB: Couldn't compile keymap
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap

grsec.log
grsec: (root:U:/usr/bin/Xorg) failed fork with errno -12 by
/usr/bin/Xorg[X:pid] uid/euid:0/0 gid/egid:0/0, parent
/usr/sbin/gdm-binary[gdm:pid] uid/euid:0/0 gid/egid:0/0

Result: wrong keyboard layout, compose key don't work, I cannot even
switch to a terminal.

Any clues how to solve it?

Regards:
Dw.
-- 
dr Tóth Attila, Radiológus, 06-20-825-8057, 06-30-5962-962
Attila Toth MD, Radiologist, +36-20-825-8057, +36-30-5962-962




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-hardened] Xorg fails to fork therefore cannot invoke xkbcomp
  2009-06-03 13:50 [gentoo-hardened] Xorg fails to fork therefore cannot invoke xkbcomp atoth
@ 2009-06-03 20:15 ` mino
  0 siblings, 0 replies; 2+ messages in thread
From: mino @ 2009-06-03 20:15 UTC (permalink / raw
  To: gentoo-hardened

> Xorg.log
> (**) Option "xkb_rules" "evdev"
> (**) Option "xkb_model" "evdev"
> (**) Option "xkb_layout" "hu,us"
> (**) Option "xkb_variant" "standard"
> (**) Option "xkb_options" "grp:shift_toggle,compose:ralt"
> (EE) XKB: Could not invoke xkbcomp
> (EE) XKB: Couldn't compile keymap
> (WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
> 
> grsec.log
> grsec: (root:U:/usr/bin/Xorg) failed fork with errno -12 by
> /usr/bin/Xorg[X:pid] uid/euid:0/0 gid/egid:0/0, parent
> /usr/sbin/gdm-binary[gdm:pid] uid/euid:0/0 gid/egid:0/0
> 
> Result: wrong keyboard layout, compose key don't work, I cannot even
> switch to a terminal.
> 
> Any clues how to solve it?
> 
> Regards:
> Dw.
> -- 
> dr Tóth Attila, Radiológus, 06-20-825-8057, 06-30-5962-962
> Attila Toth MD, Radiologist, +36-20-825-8057, +36-30-5962-962
> 
> 

I think I experienced a similar problem some time ago.
Changing the pax flags on /usr/bin/Xorg worked for me.

Pax somehow prevented Xorg from compiling a new keymap.

Type "paxctl -pemrxs /usr/bin/Xorg", which should disable all
restrictions and try it again.

If I recall correctly, I could reset the flags to their default values
(paxctl -zxe /usr/bin/Xorg) after Xorg started with the correct keymap.

I hope this helps.

Regards,

Mino



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-03 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-03 13:50 [gentoo-hardened] Xorg fails to fork therefore cannot invoke xkbcomp atoth
2009-06-03 20:15 ` mino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox