2018-04-01 12:00 GMT+03:00 Ulrich Sibiller <ulrich.sibiller@gmail.com>:
Михайло Падалка <misha.cn.ua@gmail.com> schrieb am So., 1. Apr. 2018, 00:31:
I just want all users to start the custom session script, which will setup keyboard (unfortunaly x2go cannot do that from server side :() and run correct session. Do I understand correctly, that current X2Go client cannot do that?
Can you please add some details about those keyboard setup problems?
Of course. I need three keyboard layouts with hotkey to switch them. If I set 'do not configure' in X2Go client, and setup keyboard in standard Debian way, I just get one US layout. If I try to specify layouts in X2Go client separated by comma (the same format as used in /etc/default/keyboard) - I get an error while connecting.
By the way, If I setup keyboard in session startup script, then after session suspend/resume X2Go overrides that and I get just US layout again.
So I discovered another way to fix that. I added a hook scripts in X2Go server extensions directory, to post-start and post-resume folders, and do needed setup from there. This way it works ok.
-- З повагою, Михайло