<div dir="auto">NX toakes care of the keyboard when the keyboard is null/null. In that case x2goagent switches to keyboard cloning mode and creates a blocking dir which effectively prevents x2go from setting the keyboard on startup. See Keyboard.c in NX agent. But it should not be us afterwards, it should be the same as on your client.<div dir="auto"><br></div><div dir="auto">Uli</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Oleksandr Shneyder <<a href="mailto:o.shneyder@phoca-gmbh.de">o.shneyder@phoca-gmbh.de</a>> schrieb am Di., 22. Feb. 2022, 19:29:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br>
<br>
developing rootless mode for x2go kdrive I found some strange behavior,<br>
when trying to set up the keyboard layout. With NX, no matter what I'm<br>
putting in sessions settings after session start the layout is 'us'. I<br>
tried all possible options - 'auto-detect', 'do not configure',<br>
'configure keyboard pc105/de'. The result is always same and in log file<br>
I see the message from x2gosetkeyboard:<br>
<br>
Feb 22 12:13:06 localhost /usr/bin/x2gosetkeyboard: x2gosetkeyboard<br>
called with options:<br>
Feb 22 12:13:06 localhost /usr/bin/x2gosetkeyboard:<br>
/home/admin/.x2go/C-admin-51-1645553583_stAkonsole_dp24/keyboard is<br>
blocked, not setting keyboard parameters from client-side settings<br>
<br>
When after I'm suspending and resuming the session, with options<br>
'auto-detect' and 'configure', the layout is correct.<br>
<br>
for the moment I added some code for rootless x2gokdrive sessions in<br>
x2gostartagent to setup the layout, so users could at least use the<br>
single applications. But I'd like to make it right and unified for all<br>
kind of sessions. Any idea who wrote the kbd layout stuff and what is<br>
wrong here?<br>
<br>
regards,<br>
Alex<br>
-- <br>
-----------------------------------------------------------<br>
Oleksandr Shneyder | Email: <a href="mailto:o.shneyder@phoca-gmbh.de" target="_blank" rel="noreferrer">o.shneyder@phoca-gmbh.de</a><br>
phoca GmbH | Tel. : 0911 - 14870374 0<br>
Schleiermacherstr. 2 | Fax. : 0911 - 14870374 9<br>
D-90491 Nürnberg | Mobil: 0163 - 49 64 461<br>
<br>
Geschäftsführung: Dipl.-Inf. Oleksandr Shneyder<br>
<br>
Amtsgericht München | <a href="http://www.phoca-gmbh.de" rel="noreferrer noreferrer" target="_blank">http://www.phoca-gmbh.de</a><br>
HRB 196 658 | <a href="http://www.x2go.org" rel="noreferrer noreferrer" target="_blank">http://www.x2go.org</a><br>
USt-IdNr.: DE281977973<br>
-----------------------------------------------------------<br>
<br>
_______________________________________________<br>
x2go-dev mailing list<br>
<a href="mailto:x2go-dev@lists.x2go.org" target="_blank" rel="noreferrer">x2go-dev@lists.x2go.org</a><br>
<a href="https://lists.x2go.org/listinfo/x2go-dev" rel="noreferrer noreferrer" target="_blank">https://lists.x2go.org/listinfo/x2go-dev</a><br>
</blockquote></div>