<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Good day<br>
<br>
I hope someone can help me out. I am trying to set up Xpra on my
headless Ubuntu server but have been having problems. I managed to
find a suggestion that I should run this command to first establish
whether Xorg is working:<br>
Xorg -logfile /tmp/Xlog%s -config /etc/xpra/xorg.conf<br>
<br>
I am using Ubuntu 18.10 and X Server 1.20.1 (the latest version in
Ubuntu's repositories)<br>
<br>
I did so but I just get a "XKB: Failed to compile keymap" message
followed by a Keyboard initialization failure error and advice to
check the log file at "/tmp/Xlog0" for additional information. The
problem seems to start at the last 10 or so lines of the log file
starting with a "XKB: Could not invoke xkbcomp" error. The only
advice I've managed to find about this error is to install xkbcomp
(x11-xkb-utils was automatically installed with xorg) and
xkeyboard-config (xkb-data was also automatically installed).<br>
<br>
I would greatly appreciate any help I get with this issue. Thanks!<br>
<br>
Here are the last 20 or so lines of "/tmp/Xlog0" (you can find the
full log here: <a class="moz-txt-link-freetext" href="https://pastebin.com/RNabsEu8">https://pastebin.com/RNabsEu8</a> ):
<blockquote>[ 17041.103] (II) Initializing extension
XFree86-VidModeExtension<br>
[ 17041.103] (II) Initializing extension XFree86-DGA<br>
[ 17041.103] (II) Initializing extension XFree86-DRI<br>
[ 17041.103] (II) Initializing extension DRI2<br>
[ 17041.467] (EE) XKB: Could not invoke xkbcomp<br>
[ 17041.472] (EE) XKB: Couldn't compile keymap<br>
[ 17041.472] (EE) XKB: Failed to load keymap. Loading default
keymap instead.<br>
[ 17041.474] (EE) XKB: Could not invoke xkbcomp<br>
[ 17041.474] (EE) XKB: Couldn't compile keymap<br>
[ 17041.474] XKB: Failed to compile keymap<br>
[ 17041.474] Keyboard initialization failed. This could be a
missing or incorrect setup of xkeyboard-config.<br>
[ 17041.474] (EE)<br>
Fatal server error:<br>
[ 17041.474] (EE) Failed to activate virtual core keyboard: 2(EE)<br>
[ 17041.475] (EE)<br>
Please consult the The X.Org Foundation support<br>
at <a class="moz-txt-link-freetext"
href="http://wiki.x.org">http://wiki.x.org</a><br>
for help.<br>
[ 17041.475] (EE) Please also check the log file at "/tmp/Xlog0"
for additional information.<br>
[ 17041.475] (EE)<br>
[ 17041.476] (EE) Server terminated with error (1). Closing log
file.<br>
<br>
</blockquote>
<br>
If it helps, here are the contents of "/etc/xpra/xorg.conf":<br>
<blockquote># This xorg configuration file is meant to be used by
xpra<br>
# to start a dummy X11 server.<br>
# For details, please see:<br>
# <a class="moz-txt-link-freetext"
href="https://xpra.org/Xdummy.html">https://xpra.org/Xdummy.html</a><br>
<br>
Section "ServerFlags"<br>
Option "DontVTSwitch" "true"<br>
Option "AllowMouseOpenFail" "true"<br>
Option "PciForceNone" "true"<br>
Option "AllowEmptyInput" "true"<br>
Option "AutoEnableDevices" "false"<br>
Option "AutoAddDevices" "false"<br>
EndSection<br>
<br>
Section "Device"<br>
Identifier "dummy_videocard"<br>
Driver "dummy"<br>
DacSpeed 600<br>
Option "ConstantDPI" "true"<br>
#VideoRam 2048000<br>
#VideoRam 1024000<br>
#VideoRam 384000<br>
VideoRam 256000<br>
#VideoRam 192000<br>
EndSection<br>
<br>
Section "Monitor"<br>
Identifier "dummy_monitor"<br>
HorizSync 1.0 - 2000.0<br>
VertRefresh 1.0 - 200.0<br>
#To add your own modes here, use a modeline calculator, like:<br>
# cvt:<br>
# <a class="moz-txt-link-freetext"
href="http://www.x.org/archive/X11R7.5/doc/man/man1/cvt.1.html">http://www.x.org/archive/X11R7.5/doc/man/man1/cvt.1.html</a><br>
# xtiming:<br>
# <a class="moz-txt-link-freetext"
href="http://xtiming.sourceforge.net/cgi-bin/xtiming.pl">http://xtiming.sourceforge.net/cgi-bin/xtiming.pl</a><br>
# gtf:<br>
# <a class="moz-txt-link-freetext"
href="http://gtf.sourceforge.net/">http://gtf.sourceforge.net/</a><br>
<br>
#This can be used to get a specific DPI, but only for the
default resolution:<br>
#DisplaySize 508 317<br>
#NOTE: the highest modes will not work without increasing the
VideoRam<br>
# for the dummy video card.<br>
Modeline "8192x4096" 193.35 8192 8224 8952 8984 4096 4196 4200
4301<br>
<snip long sequence of "Modeline" lines><br>
<br>
EndSection<br>
<br>
Section "Screen"<br>
Identifier "dummy_screen"<br>
Device "dummy_videocard"<br>
Monitor "dummy_monitor"<br>
DefaultDepth 24<br>
SubSection "Display"<br>
Viewport 0 0<br>
Depth 8<br>
#requires more ram:<br>
#Modes "16000x15000" "15000x15000" "16384x8192" ..<br>
Modes "8192x4096" "5120x3200" "3840x2880" "3840x2560"
"3840x2048" "3840x2160" "2048x2048" "2560x1600" "1920x1440"
"1920x1200" "1920x108$<br>
#Virtual 16384 16384<br>
Virtual 8192 4096<br>
EndSubSection<br>
SubSection "Display"<br>
Viewport 0 0<br>
Depth 16<br>
#requires more ram:<br>
#Modes "16000x15000" "15000x15000" "16384x8192" ..<br>
Modes "8192x4096" "5120x3200" "3840x2880" "3840x2560"
"3840x2048" "3840x2160" "2048x2048" "2560x1600" "1920x1440"
"1920x1200" "1920x108$<br>
#Virtual 16384 16384<br>
Virtual 8192 4096<br>
EndSubSection<br>
SubSection "Display"<br>
Viewport 0 0<br>
Depth 24<br>
#requires more ram:<br>
#Modes "16000x15000" "15000x15000" "16384x8192" ..<br>
Modes "8192x4096" "5120x3200" "3840x2880" "3840x2560"
"3840x2048" "3840x2160" "2048x2048" "2560x1600" "1920x1440"
"1920x1200" "1920x108$<br>
#Virtual 16384 16384<br>
Virtual 8192 4096<br>
EndSubSection<br>
SubSection "Display"<br>
Viewport 0 0<br>
Depth 30<br>
#requires more ram:<br>
#Modes "16000x15000" "15000x15000" "16384x8192" ..<br>
Modes "8192x4096" "5120x3200" "3840x2880" "3840x2560"
"3840x2048" "3840x2160" "2048x2048" "2560x1600" "1920x1440"
"1920x1200" "1920x108$<br>
#Virtual 16384 16384<br>
Virtual 8192 4096<br>
EndSubSection<br>
EndSection<br>
<br>
Section "ServerLayout"<br>
Identifier "dummy_layout"<br>
Screen "dummy_screen"<br>
EndSection<br>
<br>
</blockquote>
</body>
</html>