Thanks for your reply Ulrich.

- "rules=base" in /etc/x2go/x2goagent.keyboard : does not improve the mapping - setxkbmap -rules base fr : provides the message : Error loading new keyboard description
- x2go generates a keyboard config file which you can use with
  setxkbmap -config <filename>. I cannot check right now but in should
  reside somewhere in ~root/.x2go/... : I can't find such a file in ~/.x2go/ or in /etc/x2go/
  There is /etc/x2go/keystrokes.cfg but it's the x2go shortcuts file
  Here are the files present in ~root/.x2go/ :

cache-unix-kde-depth_24
clients
cmdoutput
C-root-53-1509967618_stDLXDE_dp24
options
session.log
sshd.pid
state
xinerama.conf


--

Bruno


Le 06/11/2017 à 11:02, Ulrich Sibiller a écrit :
On Mon, Nov 6, 2017 at 9:59 AM, Bruno Joffredo
<[email protected]> wrote:
Hello,

I have installed X2Go (server v4.0.1.20) on a Debian Stretch (v9.2) server a
few days ago.

This machine is secured at the network level, so i want to login root.

When I log in as a user, the keyboard mapping is good.
But when I log in root, the arrow keys are not good : up doesn't show
anything, down acts like return, and the pipe key does not show anything.

I did some search on the web, but everything I found did not work.

Connected via X2go Client to the root user :

the command setxkbmap fr return : Error loading new keyboard description
echo $DISPLAY : :50.0
the command DISPLAY=:0.0 setxkbmap fr return no error
here is the contents of the file
~/.x2go/C-root-50-1509957528_stDLXDE_dp24/clients :

No matching visual for __GLcontextMode with visual class = 4 (32770),
nplanes = 24
No matching visual for __GLcontextMode with visual class = 4 (32770),
nplanes = 24
No matching visual for __GLcontextMode with visual class = 4 (32770),
nplanes = 24
No matching visual for __GLcontextMode with visual class = 4 (32770),
nplanes = 24
No matching visual for __GLcontextMode with visual class = 5 (32771),
nplanes = 24
No matching visual for __GLcontextMode with visual class = 5 (32771),
nplanes = 24
No matching visual for __GLcontextMode with visual class = 5 (32771),
nplanes = 24
No matching visual for __GLcontextMode with visual class = 5 (32771),
nplanes = 24
The XKEYBOARD keymap compiler (xkbcomp) reports:
Error:            Can't find file "null" for symbols include
                   Exiting
                   Abandoning symbols file "default"
Error:            Cannot open "compiled/server-50.xkm" to write keyboard
description
                   Exiting
The XKEYBOARD keymap compiler (xkbcomp) reports:
Error:            Cannot open "compiled/server-50.xkm" to write keyboard
description
                   Exiting
The XKEYBOARD keymap compiler (xkbcomp) reports:
Error:            Cannot open "compiled/server-50.xkm" to write keyboard
description
                   Exiting
AUDIT: Mon Nov  6 09:38:52 2017: 27087 x2goagent: client 3 rejected from
local host
The XKEYBOARD keymap compiler (xkbcomp) reports:
Error:            Cannot open "compiled/server-50.xkm" to write keyboard
description
                   Exiting
These messages are probably coming during session start and are normal
as x2go sets the initial keyboard to "null/null".


I modified the content of the file /etc/x2go/x2goagent.keyboard like that :
rules=evdev    but it's always the same
Some ideas:

- try "rules=base" in /etc/x2go/x2goagent.keyboard
- try setxkbmap -rules base fr
- x2go generates a keyboard config file which you can use with
setxkbmap -config <filename>. I cannot check right now but in should
reside somewhere in ~root/.x2go/...


Uli

_______________________________________________
x2go-user mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-user

Reply via email to