Hello!
I hope, I can find some help here. I started once setting up x2goserver in a LXC container on a remote host and this, in some way, worked so far (except for using webbrowsers, which have only horrible performance and no sound) and even consoles have the right layout.
Then I could not find an ytime to continue. Now, I setup x2goserver on thre computers, means, direcly like usually on the hardware (x2go: 4.1.0.3-4). All my boxes running debian10, kernel 5.10 running xfce, english setup, using a german keyboard layout.
Shockingly, the keyboards are all wrong and unusable, there is, most prominent, no pipe character (and others are missed too, like the navigations keys, <alt-gr>, <del> but umlauts are correkt!). If you press <alt-gr> a beep ist issued. This happens to x-consoles as gui progs! XRDP, on the other hand, worked as before.
I was unable to find documentation, which points out how this all works, how keyboard/maps are done by default on client and server, how this is initialized or how this could be changed and on which side (or a full shortcut reference). I tried to modify the settings on the client-gui (4.1.2.2 ) session configuration, but no variant (like "de-de") has influence at all.
Thanks any way, Manfred
This is most likely because your desktop environment (xfce) is setting the keyboard itself AFTER x2go does.
x2go determines the keyboard using this or a similar command and passes the keyboard to the other side where it calls setxkbmap (there's also an option to let x2goagent do all this itself without setxkbmap, see man nxagent; but for this problem it will probably not help). If the desktop environment kicks it AFTER the x2go setting will be gone.
You can check by running setxkbmap -query both INSIDE the session and locally.
And you can fix it (temporarily) by running INSIDE the session "setxkbmap -model ... - layout ... -rules ... -variant ... -option ..." based on the values from your local setxkbmap. (leave out parameters your setxkbmap -query does not print).
You can also run an test session where you just specify xterm as your "desktop environment". I am pretty sure the keyboard will be correct then.
Can you confirm?
Uli
On Sun, Sep 5, 2021 at 7:16 PM <webman@manfbraun.de> wrote:
Hello!
I hope, I can find some help here. I started once setting up x2goserver in a LXC container on a remote host and this, in some way, worked so far (except for using webbrowsers, which have only horrible performance and no sound) and even consoles have the right layout.
Then I could not find an ytime to continue. Now, I setup x2goserver on thre computers, means, direcly like usually on the hardware (x2go: 4.1.0.3-4). All my boxes running debian10, kernel 5.10 running xfce, english setup, using a german keyboard layout.
Shockingly, the keyboards are all wrong and unusable, there is, most prominent, no pipe character (and others are missed too, like the navigations keys, <alt-gr>, <del> but umlauts are correkt!). If you press <alt-gr> a beep ist issued. This happens to x-consoles as gui progs! XRDP, on the other hand, worked as before.
I was unable to find documentation, which points out how this all works, how keyboard/maps are done by default on client and server, how this is initialized or how this could be changed and on which side (or a full shortcut reference). I tried to modify the settings on the client-gui (4.1.2.2 ) session configuration, but no variant (like "de-de") has influence at all.
Thanks any way, Manfred
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user