Comments (9)
Hi @abma
More details please:-
- What client are you using on debian 12?
- What is your keyboard layout?
- Which xrdp backend are you using? Xorg or Xvnc? If the former, what is the version of xorgxrdp?
from xorgxrdp.
What client are you using on debian 12?
xfreerdp
What is your keyboard layout?
on client: de / pc105, on server: de / pc105,
Which xrdp backend are you using? Xorg or Xvnc? If the former, what is the version of xorgxrdp?
xorg with xorgxrdp v0.9.19-1
i've noticed in ~/.xorgxrdp..log that the the line
[746023.837] KbdSync: toggling caps lock
only sometimes occours when i press caps lock. i don't get this line with working remmina / mstsc as client to the xrdp server.
it seems the problem and this log line seems to match: as long as this log message doesn't occour keyboard led + caps lock state on server side are in sync. when this message occours its out of sync.
also i would expect that this line should occour every time i press caps lock, right?! but it only occours maybe in one of 10 presses.
from xorgxrdp.
Thanks - that's useful.
The message is generated when the client sends this RDP event (or its fastpath variant):-
It's a sync event, so isn't sent every time caps lock is pressed.
from xorgxrdp.
I've also read the comments on the freerdp issue.
If it's at all possible to come up with a way to reproduce this it will be a lot easier to look at.
from xorgxrdp.
I can reproduce this on devel now, with a UK keyboard.
I ran a simple session with just an xterm in it running watch -n 0.1 "xset q"
as suggested in the linked issue (nice suggestion @abma)
Connecting with xfreerdp 2.9.0 resulted in the caps lock state not always changing when the key was pressed.
It looks like xfreerdp is sending a capslock down, capslock up, and also a sync request very close to each other. Remmina does not send the sync requests like this.
Problem does not occur at all with Xvnc, so I'm moving this to the xorgxrdp repo.
from xorgxrdp.
My guess is that things are going wrong in KbdSync:-
xorgxrdp/xrdpkeyb/rdpKeyboard.c
Lines 484 to 510 in 5f6177d
Because the sync is sent so closely after the keypresses, it's possible the call to XkbStateFieldFromRec is getting stale information. This is a complete guess however - I don't know enough about X server internals to be sure about this.
from xorgxrdp.
Experience same problem with xorgxrdp ... It also happens with num lock
from xorgxrdp.
@abma Have you tried rdesktop to see if the problem persist?
There is also this option in rdesktop
-N
Enable numlock syncronization between the Xserver and the remote RDP session. This is useful with applications that looks at the numlock state, but might cause problems with some Xservers like Xvnc
from xorgxrdp.
Related Issues (20)
- Xorg not showing on login screen HOT 2
- configure: error: Package requirements (xrdp >= 0.9.80) were not met HOT 3
- How do I get the refresh rate to 60 Hz?
- building source error, error: ‘struct xrdp_client_info’ has no member named ‘monitorCount’ HOT 3
- Stuck in blue screen with "connection problem, giving up" HOT 11
- [v0.9] too fast scroll speed with macOS RDP client (again) HOT 23
- Unable to reconnect after restarting xorgxrdp HOT 24
- Add VA-API support to leverage WSL2 video hardware acceleration
- GFX: move to posix shm HOT 2
- In rdpLRANDR.c why set refresh rate to 50Hz? HOT 7
- xorgrdp: XF86VidModeSetGamma() -> BadValue HOT 3
- Can't mount drives after xrdp update HOT 1
- V0.10.0 - release note title incorrect HOT 1
- 0.10 version AUR not starting HOT 15
- xorgxrdp-glamor with virtualbox-guest-utils (VirtualBox Arch VM) HOT 2
- building 0.9.20 on debian gnu/linux sid HOT 1
- xorgxrdp uses high CPU in CRC HOT 15
- Natural Scrolling for xrdpMouse HOT 7
- No release assets on tagged v0.10.1 release? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xorgxrdp.