Thanks for your reply Ulrich.
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 <Bruno.Joffredo@ec-nantes.fr> 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