Package: x2goserver Version: 4.1.0.3-0~1708~ubuntu16.04.1 x2gosetkeyboard has a complicated parsing loop for the keyboard file that x2goagent created. Instead of using that loop to build a command line for setxkbmap it should simply run "setxkbmap -config ${X2GO_CLIENT_KBD_FILE}"