-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.10.0 + decreased max_bpp causes protocol error #3118
Comments
@bmagistro - thanks for submitting such a thorough issue report. I think I can see what's happening here. When the depth is limited to 24bpp we need to ignore the 'client supports GFX' flag, otherwise we start a negotiation that can't possibly succeed. During GFX testing we found clients that would request 24 bpp with GFX (which also doesn't work). We fixed that one, but I forgot to include the server case. I'm out of time today, but I'll take a more detailed look next week. |
We are good on our side for now. I'm just glad this is something that you have a lead on from that. |
@bmagistro - your setting of Some users have reported increased CPU usage running GFX (i.e. 32 bpp) (#3114). It's something else you might want to be aware of. |
xrdp version
0.10.0
Detailed xrdp version, build options
Operating system & version
Almalinux 9
Installation method
dnf / apt / zypper / pkg / etc
Which backend do you use?
xvnc
What desktop environment do you use?
xfce
Environment xrdp running on
vm
What's your client?
No response
Area(s) with issue?
No response
Steps to reproduce
Set max_bpp = 24 and restart. The failure is resolved/worked around by resetting max_bpp to 32.
I forget why we had tuned this on centos 7 + an older xrdp. This setting worked with 0.9.25.
In the MacOS RDP client, the following is what's configured for display
✔️ Expected Behavior
Successful login with reduced color depth. The logs indicated this would occur but the result was a failure.
❌ Actual Behavior
The above screenshot was from yesterday, the attached logs both working and failure with only the change to ^^ are attached below.
xrdp-failure.txt
xrdp-success.txt
Anything else?
We have also tuned the following settings in addition to the one mentioned above but do not expect them to have any impact on this.
.xsession
/bin/xfce4-session
86400
86400
More than anything this seemed odd to us and wanted to provide the feedback. We have worked around/resolved the issue for now by tuning max_bpp to 32 when using 0.10.0 and things seem to be stable so far.
The text was updated successfully, but these errors were encountered: