[Nix-dev] xpra not working

Bjørn Forsman bjorn.forsman at gmail.com
Fri Feb 7 20:52:27 CET 2014


On 6 February 2014 19:34, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
[...]
> There must be some hardcoded assumptions somewhere, but I cannot seem
> to find them. I'm not sure the assumptions are in xpra even, they
> could be somewhere else (X?).

Yes, it's an X thing. xpra forks and execs Xvfb. I can reproduce the
error simply:

$ strace -olog -f Xvfb :100
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension GLX
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect
setup of xkeyboard-config.
(EE)
Fatal server error:
(EE) Failed to activate core devices.(EE)


$ grep -B1 "XKB:" log
3967  open("/nix/store/7imzw34rvqja8dmqxl3xjgrlhl9z8hb2-xorg-server-1.14.5/share/X11/xkb/rules/evdev",
O_RDONLY) = -1 ENOENT (No such file or directory)
3967  write(2, "XKB: Failed to compile keymap\n", 30) = 30


I can see some "share/X11/xkb/rules/evdev" in the xkeyboard-config package:

/nix/store/xz7sjgcac21c1brjmj79555wfsjv6lpm-xkeyboard-config-2.8/share/X11/xkb/rules/evdev

Now if I only knew how to make Xvfb find the evdev stuff from the
xkeyboard-config package.... Looking at xlibs.xorgserver ./configure
--help output...

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list