Great question — answering as the UphillTech team:
In my case I was on Debian 11, I added [Virtual Channels\Keyboard] TransparentKeyPassthrough=Remote except that, crucial change was to disable Wayland by going into /etc/gdm3/daemon.conf and uncommenting line #WaylandEnable=false to WaylandEnable=false Only both of those two things worked for me. Original knowledge came from citrix forum .
Full answer by Ivan Golović: https://unix.stackexchange.com/a/738471 (CC BY-SA 3.0).
Need it done for your business? UphillTech.