built Xephyr from source but it complains about missing XKB, and other things.

... offonoffoffonoff at gmail.com
Sat Jan 25 14:32:23 PST 2014


Thanks both of you.

I did find a precompiled Xephyr that runs on my computer and has evdev
enabled, but It doesn't seem to have glx support.  So, I've been able to
explore a little further into the set up but it looks like compiling this
myself still needs to happen.

@Yan:

I do have X in the Ubuntu repos, but it doesn;t have all the features I
need enabled.  Maybe this is more of an ubuntu question, but is the
following something I could do?

apt-get remove xserver-xorg
apt-get build-dep xerver-xorg
apt-get source --download-only xserver-xorg
cd wherever-it-went

./configure --enable-kdrive --enable-xephyr --enable-xfake
--enable-xfbdev --enable-kdrive-kbd --enable-kdrive-mouse
--enable-kdrive-evdev --enable-glx-tls

make

sudo make install


Also, xserver-xephyr is a package.  I could do something like the above
with just xserver-xepher, but I wouldn't know how to compile it (what flags
to set, etc)

My Xorg error log is at the end of this email.  It shows that X fails to
find nvidia.  This is from when I tried to run X I compiled in order to run
Xephyr I compiled on it.  I was getting errors running Xephyr that I
compiled on the X from the repo and I thought this would help.  It did not.




@ Alan:

Thanks.  I have been unable to find a comprehensive list of what
directories I would need to set.  I suspect that these xkb issues are just
the first in a longer list (for instance, there is a long list of success
messages that do not appear.  So even making this error go away is not
success).

I am fine clobbering my repo version.  Could I set the --prefix to overlap
the repo version?  Or, do you know where I could find a more comprehensive
list of paths I can and should define at compile time?  Or, do you know
anything about getting the source from the Ubuntu repo and compiling it
with --enable-kdrive-evdev and --enable-glx-tls?

I tried --with-xkb-bin-directory=/usr/bin/ --with-xkb-path=/var/lib/xkb/
and I still get the same XKB error.

Not sure if the xkb-path is right.

$ ls /var/lib/xkb/
README.compiled
server-02D8252E59564A234380F1E5417646A9DB3B7452.xkm
server-53628FFEAE787BDF7F5128B07068E2A1D9DEC814.xkm
server-8AA988DD479FAABEC4FC3CCCF4CC29B4948840B4.xkm
server-8C3648A5FD728529D869F46730BE1BC287DB231C.xkm
server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm


Xorg.0.log:

[  2965.486]
X.Org X Server 1.12.2
Release Date: 2012-05-29
[  2965.486] X Protocol Version 11, Revision 0
[  2965.486] Build Operating System: Linux 3.8.0-19-generic x86_64
[  2965.486] Current Operating System: Linux clearview3 3.8.0-19-generic
#29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64
[  2965.486] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.8.0-19-generic
root=UUID=525cf535-2bb2-4d94-8e17-8e2516fc96b0 ro nouveau.blacklist=1 quiet
splash
[  2965.486] Build Date: 24 January 2014  04:21:24PM
[  2965.486]
[  2965.486] Current version of pixman: 0.30.2
[  2965.486]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  2965.486] Markers: (--) probed, (**) from config file, (==) default
setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2965.487] (==) Log file: "/usr/local/var/log/Xorg.0.log", Time: Fri Jan
24 21:50:01 2014
[  2965.525] (==) Using config file: "/etc/X11/xorg.conf"
[  2965.525] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2965.526] (==) ServerLayout "Default Layout"
[  2965.526] (**) |-->Screen "Default Screen" (0)
[  2965.526] (**) |   |-->Monitor "Configured Monitor"
[  2965.526] (**) |   |-->Device "Configured Video Device"
[  2965.526] (**) |-->Input Device "Keyboard0"
[  2965.526] (**) |-->Input Device "Mouse0"
[  2965.527] (==) Automatically adding devices
[  2965.527] (==) Automatically enabling devices
[  2965.538] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[  2965.538]    Entry deleted from font path.
[  2965.538] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[  2965.539]    Entry deleted from font path.
[  2965.539] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not
exist.
[  2965.539]    Entry deleted from font path.
[  2965.539] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not
exist.
[  2965.539]    Entry deleted from font path.
[  2965.539] (==) FontPath set to:
        /usr/share/fonts/X11/misc/,
        /usr/share/fonts/X11/Type1/
[  2965.539] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[  2965.539] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse'
or 'vmmouse' will be disabled.
[  2965.539] (WW) Disabling Keyboard0
[  2965.539] (WW) Disabling Mouse0
[  2965.539] (II) Loader magic: 0x7c5b00
[  2965.539] (II) Module ABI versions:
[  2965.539]    X.Org ANSI C Emulation: 0.4
[  2965.539]    X.Org Video Driver: 12.0
[  2965.539]    X.Org XInput driver : 16.0
[  2965.539]    X.Org Server Extension : 6.0
[  2965.548] (--) PCI:*(0:1:0:0) 10de:0ca3:3842:1240 rev 162, Mem @
0xfa000000/16777216, 0xd0000000/268435456, 0xce000000/33554432, I/O @
0x0000ec00/128, BIOS @ 0x????????/524288
[  2965.548] (II) Open ACPI successful (/var/run/acpid.socket)
[  2965.548] (II) LoadModule: "extmod"
[  2965.558] (II) Loading
/usr/local/lib/xorg/modules/extensions/libextmod.so
[  2965.569] (II) Module extmod: vendor="X.Org Foundation"
[  2965.569]    compiled for 1.12.2, module version = 1.0.0
[  2965.569]    Module class: X.Org Server Extension
[  2965.569]    ABI class: X.Org Server Extension, version 6.0
[  2965.569] (II) Loading extension MIT-SCREEN-SAVER
[  2965.569] (II) Loading extension XFree86-VidModeExtension
[  2965.569] (II) Loading extension XFree86-DGA
[  2965.569] (II) Loading extension DPMS
[  2965.569] (II) Loading extension XVideo
[  2965.569] (II) Loading extension XVideo-MotionCompensation
[  2965.569] (II) Loading extension X-Resource
[  2965.569] (II) LoadModule: "dbe"
[  2965.570] (II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so
[  2965.576] (II) Module dbe: vendor="X.Org Foundation"
[  2965.577]    compiled for 1.12.2, module version = 1.0.0
[  2965.577]    Module class: X.Org Server Extension
[  2965.577]    ABI class: X.Org Server Extension, version 6.0
[  2965.577] (II) Loading extension DOUBLE-BUFFER
[  2965.577] (II) LoadModule: "glx"
[  2965.577] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[  2965.590] (II) Module glx: vendor="X.Org Foundation"
[  2965.590]    compiled for 1.12.2, module version = 1.0.0
[  2965.590]    ABI class: X.Org Server Extension, version 6.0
[  2965.590] (==) AIGLX enabled
[  2965.590] (II) Loading extension GLX
[  2965.590] (II) LoadModule: "record"
[  2965.590] (II) Loading
/usr/local/lib/xorg/modules/extensions/librecord.so
[  2965.599] (II) Module record: vendor="X.Org Foundation"
[  2965.599]    compiled for 1.12.2, module version = 1.13.0
[  2965.599]    Module class: X.Org Server Extension
[  2965.599]    ABI class: X.Org Server Extension, version 6.0
[  2965.599] (II) Loading extension RECORD
[  2965.599] (II) LoadModule: "dri"
[  2965.599] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
[  2965.611] (II) Module dri: vendor="X.Org Foundation"
[  2965.611]    compiled for 1.12.2, module version = 1.0.0
[  2965.611]    ABI class: X.Org Server Extension, version 6.0
[  2965.611] (II) Loading extension XFree86-DRI
[  2965.611] (II) LoadModule: "dri2"
[  2965.611] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
[  2965.613] (II) Module dri2: vendor="X.Org Foundation"
[  2965.613]    compiled for 1.12.2, module version = 1.2.0
[  2965.613]    ABI class: X.Org Server Extension, version 6.0
[  2965.614] (II) Loading extension DRI2
[  2965.614] (II) LoadModule: "nvidia"
[  2965.625] (WW) Warning, couldn't open module nvidia
[  2965.625] (II) UnloadModule: "nvidia"
[  2965.625] (II) Unloading nvidia
[  2965.625] (EE) Failed to load module "nvidia" (module does not exist, 0)
[  2965.625] (EE) No drivers available.
[  2965.625]
Fatal server error:
[  2965.625] no screens found
[  2965.625]
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  2965.625] Please also check the log file at
"/usr/local/var/log/Xorg.0.log" for additional information.
[  2965.625]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20140125/413b5072/attachment-0001.html>


More information about the xorg mailing list