debauchee / barrier

Open-source KVM software
Other
27.13k stars 1.5k forks source link

Wrong keyboard layout between Server and Client #638

Open pierremouvet opened 4 years ago

pierremouvet commented 4 years ago

Operating Systems

Server Debian Buster 10.3.0 Client Raspbian Buster

Barrier Version

2.3.2

On debian I use a french keyboard. On raspbian I use a french keyboard. Both work fine. When switching from debain to raspbian in barrier, I still have a french keyboad but no franch keys like éàç ...

When in client (raspbian) if I launch a remote desktop to windows 7-8-10-2012-2016 (remmina) I have a qwerty keyboard.

When in client (raspbian) if I launch a remote desktop to windows 2003 (remmina) I can't type anything

I check with setxkbmap -query rules: evdev model: pc105 layout: be Both layout are OK

On the server (debian) with same configuration and using remmina everything works perfectly.

Steps to reproduce bug

just install and run

Other info

Put anything else you can think of here.

Thanks a lot for your help.

whythefyouflying commented 4 years ago

I have the same issue on my end with Windows 10 and Ubuntu 20.04 LTS. Both have a Polish keyboard layout, the Windows 10 box is the server and the Ubuntu is the client. Barrier works, however it seems like it works only in pseudo-ASCII way. The special Polish characters like: ąęłćźż don't work, funnily enough, only one character works which is: ó.

metalgrid commented 4 years ago

Windows 10 Pro server, Windows 10 Home client with US/BG layouts. Switching the layout on the client appears to work ( the language bar changes ) but inputs are still US. Switching to BG on server produces only question marks on the client, with no regards to the client's selected layout.

josschm commented 4 years ago

I have a Manjaro server and a dualboot client (Windwos/Ubuntu). All settings using DE-keyboard. But when typing on the server, the keyboard on the client seems to be US keyboard.

ThorstenWirth commented 4 years ago

Workaround: https://github.com/debauchee/barrier/issues/134

i've used

setxkbmap -device `xinput list | grep "Virtual core XTEST keyboard" | sed -e 's/.\+=\([0-9]\+\).\+/\1/'` de

Now it works fine

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

pierremouvet commented 3 years ago

Don't close because it's not yet solved. Can the programer deal with this issue ? Thanks a lot.

eugenegff commented 3 years ago

Problems when Barrier server is on Windows - solved by pull request https://github.com/debauchee/barrier/pull/910