You are not logged in.

#1 2015-07-08 11:32:43

jaysson
Member
Registered: 2012-03-25
Posts: 6

x2go - keyboard issues, setxkbmap not working

Hi,

just did a fresh install of Arch x86_64 in a SmartOS KVM on my dedi and ran into the following issues with x2go (XFCE4 as desktop environment):

The keyboard in x2go sessions (client is x2goclient on fully updated x86_64 arch) is not working properly, arrow keys pos1, end etc. are not working at all or doing other stuff (arrow down = enter f.e.). Further I cannot use setxkbmap to set the keyboard layout.

Found the following thread but it wasn't able to help me out: http://serverfault.com/questions/582552 … g-properly

setxbmap error:

[jay@archbox ~]$ setxkbmap -v 10 us
Setting verbose level to 10
locale is C
Warning! Multiple definitions of keyboard layout
         Using command line, ignoring X server
Trying to load rules file ./rules/xorg...
Trying to load rules file /usr/share/X11/xkb/rules/xorg...
Success.
Applied rules from xorg:
rules:      xorg
model:      null
layout:     us
Trying to build keymap using the following components:
keycodes:   xfree86+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc+us
geometry:   pc(pc104)
Error loading new keyboard description

strace result:

[jay@archbox ~]$ strace setxkbmap -v 10 us
execve("/usr/bin/setxkbmap", ["setxkbmap", "-v", "10", "us"], [/* 31 vars */]) = 0
brk(0)                                  = 0xfc2000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/nx/X11/Xinerama/tls/x86_64/libxkbfile.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/nx/X11/Xinerama/tls/x86_64", 0x7fff5a48f640) = -1 ENOENT (No such file or directory)
open("/usr/lib/nx/X11/Xinerama/tls/libxkbfile.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/nx/X11/Xinerama/tls", 0x7fff5a48f640) = -1 ENOENT (No such file or directory)
open("/usr/lib/nx/X11/Xinerama/x86_64/libxkbfile.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/nx/X11/Xinerama/x86_64", 0x7fff5a48f640) = -1 ENOENT (No such file or directory)
open("/usr/lib/nx/X11/Xinerama/libxkbfile.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/nx/X11/Xinerama", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/nx/X11/tls/x86_64/libxkbfile.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/nx/X11/tls/x86_64", 0x7fff5a48f640) = -1 ENOENT (No such file or directory)
open("/usr/lib/nx/X11/tls/libxkbfile.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/nx/X11/tls", 0x7fff5a48f640) = -1 ENOENT (No such file or directory)
open("/usr/lib/nx/X11/x86_64/libxkbfile.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/nx/X11/x86_64", 0x7fff5a48f640) = -1 ENOENT (No such file or directory)
open("/usr/lib/nx/X11/libxkbfile.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/nx/X11", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=72292, ...}) = 0
mmap(NULL, 72292, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9741ae4000
close(3)                                = 0
open("/usr/lib/libxkbfile.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340N\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=155888, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9741ae3000
mmap(NULL, 2252424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f97416af000
mprotect(0x7f97416d3000, 2097152, PROT_NONE) = 0
mmap(0x7f97418d3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7f97418d3000
close(3)                                = 0
open("/usr/lib/nx/X11/Xinerama/libX11.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/nx/X11/libX11.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libX11.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\335\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1314936, ...}) = 0
mmap(NULL, 3412192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f974136d000
mprotect(0x7f97414a8000, 2093056, PROT_NONE) = 0
mmap(0x7f97416a7000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13a000) = 0x7f97416a7000
mmap(0x7f97416ae000, 224, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f97416ae000
close(3)                                = 0
open("/usr/lib/nx/X11/Xinerama/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/nx/X11/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\10\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1979984, ...}) = 0
mmap(NULL, 3807760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9740fcb000
mprotect(0x7f9741164000, 2093056, PROT_NONE) = 0
mmap(0x7f9741363000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x198000) = 0x7f9741363000
mmap(0x7f9741369000, 14864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9741369000
close(3)                                = 0
open("/usr/lib/nx/X11/Xinerama/libxcb.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/nx/X11/libxcb.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libxcb.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\244\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=137968, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9741ae2000
mmap(NULL, 2233352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9740da9000
mprotect(0x7f9740dca000, 2093056, PROT_NONE) = 0
mmap(0x7f9740fc9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x7f9740fc9000
close(3)                                = 0
open("/usr/lib/nx/X11/Xinerama/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/nx/X11/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14576, ...}) = 0
mmap(NULL, 2109712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9740ba5000
mprotect(0x7f9740ba8000, 2093056, PROT_NONE) = 0
mmap(0x7f9740da7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f9740da7000
close(3)                                = 0
open("/usr/lib/nx/X11/Xinerama/libXau.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/nx/X11/libXau.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXau.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \17\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14512, ...}) = 0
mmap(NULL, 2109744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f97409a1000
mprotect(0x7f97409a3000, 2097152, PROT_NONE) = 0
mmap(0x7f9740ba3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f9740ba3000
close(3)                                = 0
open("/usr/lib/nx/X11/Xinerama/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/nx/X11/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \25\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=22688, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9741ae1000
mmap(NULL, 2117912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f974079b000
mprotect(0x7f97407a0000, 2093056, PROT_NONE) = 0
mmap(0x7f974099f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f974099f000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9741ae0000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9741adf000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9741ade000
arch_prctl(ARCH_SET_FS, 0x7f9741adf700) = 0
mprotect(0x7f9741363000, 16384, PROT_READ) = 0
mprotect(0x7f974099f000, 4096, PROT_READ) = 0
mprotect(0x7f9740ba3000, 4096, PROT_READ) = 0
mprotect(0x7f9740da7000, 4096, PROT_READ) = 0
mprotect(0x7f9740fc9000, 4096, PROT_READ) = 0
mprotect(0x7f97416a7000, 8192, PROT_READ) = 0
mprotect(0x7f97418d3000, 4096, PROT_READ) = 0
mprotect(0x604000, 4096, PROT_READ)     = 0
mprotect(0x7f9741af6000, 4096, PROT_READ) = 0
munmap(0x7f9741ae4000, 72292)           = 0
brk(0)                                  = 0xfc2000
brk(0xfe3000)                           = 0xfe3000
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9741af5000
write(1, "Setting verbose level to 10\n", 28Setting verbose level to 10
) = 28
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_LOCAL, sun_path=@"/tmp/.X11-unix/X50"}, 21) = 0
getpeername(3, {sa_family=AF_LOCAL, sun_path=@"/tmp/.X11-unix/X50"}, [21]) = 0
uname({sysname="Linux", nodename="archbox", ...}) = 0
access("/home/jay/.Xauthority", R_OK)   = 0
open("/home/jay/.Xauthority", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=165, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9741af4000
read(4, "\1\0\0\7archbox\0\00250\0\22MIT-MAGIC-COOKI"..., 4096) = 165
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x7f9741af4000, 4096)            = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"", 0}, {"MIT-MAGIC-COOKIE-1", 18}, {"\0\0", 2}, {"C\224\365\342\344\370\200-b\250\310\7L\246z\314", 16}, {"", 0}], 6) = 48
recvfrom(3, "\1\0\v\0\0\0c\0", 8, 0, NULL, NULL) = 8
recvfrom(3, "\200\35,\4\0\0\300\1\377\377\37\0\0\1\0\0\24\0\377\377\1\7\0\0  \10\377\0\0\0\0"..., 396, 0, NULL, NULL) = 396
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"b\0\5\0\f\0\0\0BIG-REQUESTS", 20}], 1) = 20
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\1\0\0\0\0\0\1\205\0\0\1\0\0\0\20\27\203\354\375\177\0\0\24\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\205\0\1\0", 4}], 1)       = 4
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\2\0\0\0\0\0\377\377?\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, 0x7fff5a48fb30, 0)           = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"7\0\5\0\0\0\300\1\337\0\0\0\10\0\0\0\377\377\377\0\24\0\6\0\337\0\0\0\27\0\0\0"..., 44}, {NULL, 0}, {"", 0}], 3) = 44
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\10\4\0\34\0\0\0\37\0\0\0\0\0\0\0o\0\0\0\0\0\0\0\0\201\7\373\3037\375T"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 144
recvmsg(3, 0x7fff5a48fb70, 0)           = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"b\0\5\0\t\0\300\1", 8}, {"XKEYBOARD", 9}, {"\0\0\0", 3}], 3) = 20
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\5\0\0\0\0\0\1\212V\224\1\0\0\0\20\27\203\354\375\177\0\0\24\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, 0x7fff5a48fa40, 0)           = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7fff5a48fa40, 0)           = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\212\0\2\0\1\0\0\0", 8}, {NULL, 0}, {"", 0}], 3) = 8
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, 0x7fff5a48faf0, 0)           = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7fff5a48faf0, 0)           = -1 EAGAIN (Resource temporarily unavailable)
write(1, "locale is C\n", 12locale is C
)           = 12
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\20\1\6\0\20\0\0\0_XKB_RULES_NAMES", 24}, {NULL, 0}, {"", 0}], 3) = 24
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\27\7\0\0\0\0\0\260\0\0\0\0\0\0\0\20\27\203\354\375\177\0\0\224\22\203\354\375\177\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, 0x7fff5a48fbc0, 0)           = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7fff5a48fbc0, 0)           = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\24\0\6\0\337\0\0\0\260\0\0\0\37\0\0\0\0\0\0\0\0\4\0\0", 24}, {NULL, 0}, {"", 0}], 3) = 24
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\10\10\0\5\0\0\0\37\0\0\0\0\0\0\0\21\0\0\0\375\177\0\0\377@F\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 52
recvmsg(3, 0x7fff5a48fb40, 0)           = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7fff5a48fb40, 0)           = -1 EAGAIN (Resource temporarily unavailable)
write(1, "Warning! Multiple definitions of"..., 49Warning! Multiple definitions of keyboard layout
) = 49
write(1, "         Using command line, ign"..., 47         Using command line, ignoring X server
) = 47
write(1, "Trying to load rules file ./rule"..., 42Trying to load rules file ./rules/xorg...
) = 42
open("./rules/xorg-C.lst", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("./rules/xorg.lst", O_RDONLY)      = -1 ENOENT (No such file or directory)
write(1, "Trying to load rules file /usr/s"..., 59Trying to load rules file /usr/share/X11/xkb/rules/xorg...
) = 59
open("/usr/share/X11/xkb/rules/xorg-C.lst", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/X11/xkb/rules/xorg.lst", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=42742, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9741af4000
read(4, "! model\n  pc101           Generi"..., 4096) = 4096
read(4, "gicda         Logitech Cordless "..., 4096) = 4096
read(4, "dream        Htc Dream phone\n\n! "..., 4096) = 4096
read(4, ": Arabic (qwerty)\n  qwerty_digit"..., 4096) = 4096
read(4, "n\n  tib_asciinum    cn: Tibetan "..., 4096) = 4096
read(4, "d keys)\n  qwerty          hu: Hu"..., 4096) = 4096
read(4, "rak_altquotes pl: Polish (Dvorak"..., 4096) = 4096
read(4, "ndeadkeys     tr: Turkish (Sun d"..., 4096) = 4096
read(4, "toggle     Right Ctrl\n  grp:sclk"..., 4096) = 4096
read(4, " key\n  altwin:meta_alt      Alt "..., 4096) = 4096
read(4, "aracter at third level\n  nbsp:zw"..., 4096) = 1782
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x7f9741af4000, 4096)            = 0
open("/usr/share/X11/xkb/rules/xorg-C", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/X11/xkb/rules/xorg", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=45086, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9741af4000
read(4, "// DO NOT EDIT THIS FILE - IT WA"..., 4096) = 4096
brk(0x1004000)                          = 0x1004000
read(4, "x \\\n              rapidaccess ra"..., 4096) = 4096
read(4, "  *\t\tro\t\tacademic\t\t=\tpc+ro(std)\n"..., 4096) = 4096
read(4, "mac)+macintosh_vndr/%l%(v)\n  mac"..., 4096) = 4096
read(4, "[1])\n  macintosh_old\t*\t\t\t=\tmacin"..., 4096) = 4096
read(4, "o(basic):2\n  *\t\tru(os)\t=\t+ru(os_"..., 4096) = 4096
brk(0x1039000)                          = 0x1039000
read(4, "ntl\t\t=\t+us(alt-intl):4\n  *\t\tben("..., 4096) = 4096
read(4, "apo\t=\t+fr(geo):3\n  *\t\tguj\t\tbasic"..., 4096) = 4096
read(4, "     =       +inet(logitech_base"..., 4096) = 4096
read(4, "\t+altwin(meta_win)\n  altwin:left"..., 4096) = 4096
read(4, "se:prsc\t\t=\t+compose(prsc)\n  comp"..., 4096) = 4096
read(4, "ft3       \t\t=\t+numpad(shift3)\n", 4096) = 30
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x7f9741af4000, 4096)            = 0
write(1, "Success.\n", 9Success.
)               = 9
write(1, "Applied rules from xorg:\n", 25Applied rules from xorg:
) = 25
write(1, "rules:      xorg\n", 17rules:      xorg
)      = 17
write(1, "model:      null\n", 17model:      null
)      = 17
write(1, "layout:     us\n", 15layout:     us
)        = 15
write(1, "Trying to build keymap using the"..., 55Trying to build keymap using the following components:
) = 55
write(1, "keycodes:   xfree86+aliases(qwer"..., 36keycodes:   xfree86+aliases(qwerty)
) = 36
write(1, "types:      complete\n", 21types:      complete
)  = 21
write(1, "compat:     complete\n", 21compat:     complete
)  = 21
write(1, "symbols:    pc+us\n", 18symbols:    pc+us
)     = 18
write(1, "geometry:   pc(pc104)\n", 22geometry:   pc(pc104)
) = 22
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\212\27\22\0\0\1\277\0\377\0\1\0\0\27xfree86+aliases(qw"..., 72}, {NULL, 0}, {"", 0}], 3) = 72
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\1\t\0\0\0\0\0\10\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, 0x7fff5a48fbd0, 0)           = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7fff5a48fbd0, 0)           = -1 EAGAIN (Resource temporarily unavailable)
write(2, "Error loading new keyboard descr"..., 39Error loading new keyboard description
) = 39
exit_group(-5)                          = ?
+++ exited with 251 +++

Hope you can work with the provided information, just let me know if you need anything else.

€: No issues using the windows x2goclient, so this might be just a client side issue and all the setxkbmap stuff might be irrelevant. All help or hints on how to troubleshoot this still appreciated.

Last edited by jaysson (2015-07-08 11:46:22)

Offline

#2 2015-11-19 14:00:37

pklaus
Member
Registered: 2011-05-03
Posts: 8

Re: x2go - keyboard issues, setxkbmap not working

Hi jaysson,

I had the same problem.

By running your command

setxkbmap -v 10 us

I found that the default rules that were used in my case were `xorg`.
This allowed me to fix the command found in https://forums.opensuse.org/showthread. … blem/page2
with those rules (didn't work with xfree86):

setxkbmap -rules xorg -model pc105 -layout us -option ""

It worked!

Offline

#3 2017-03-17 10:07:38

mxl
Member
Registered: 2017-03-15
Posts: 4

Re: x2go - keyboard issues, setxkbmap not working

See my answer here.

Offline

Board footer

Powered by FluxBB