-
-
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
xrdp protocol error with Windows 7, 10 client #737
Comments
I also reproduced the issue. |
I can also reproduce the issue with "remmina" if selecting 32bpp (not rfxcodec). |
Since you use WAN, it's not RemoteFX session. |
That's right, the issue occurs only with WAN and 32bpp. 24 and 16 are working. It seems to also work with higher resolutions (e.g. 1920x1200), as told before, but I could not fully test that. |
Not only Windows 7, Windows 10 shows protocol error as well. |
Yes, Windows 10 too. In my case it happens just after I connect to OpenVPN via Network Manager. |
Also I wanna add this happens also without OpenVPN. Did you find the cause? |
@tfischer77 Can you tell what should be done in order to re-produce this issue? |
Here's the summary of reproduction procedure I and speidy discussed on gitter chat. client=Win 7 mstsc 6.3.9600 32bit xorgxrdp, no RFX (connectionType!=LAN) caused protocol error for me. |
I tested with almost the same setup. I took the latest devel branch for my tests. 24bit color is just working. |
I can say that I run 24bit, and this error is throwed in this mode too.
|
@Suncatcher In this case, your client's color depth setting does matter. The log shows always "color depth 24" even if you're connecting 16 bit color client. @tfischer77 And 32bit color shows protocol error, right? |
@speidy I reproduced the protocol error before logging in to the session. At the login screen also cause protocol error. I think this is not xorgxrdp issue. |
I switched to 24bit color in xrdp.ini. Since then everything seems to be ok. And we have hundreds of users connecting every days.... no complaints so far. 32bit still shows error... |
Maybe the difference between 24bit color and 32bit color is here. So 32bit compression have some problem. We're looking into that. |
Fixed by #803. Can anybody test? |
@metalefty you mean by #804? Will test it today. |
Yes, #804. |
Issue closed by #804. |
So we can safely connect via 32bit depth since today? which version should I update to, to have this fix? |
v0.9.3 will be released in a few days. |
I'm facing an issue when connecting with the Windows 7 client and the following settings:
32bpp, 1680x1050, Connection type: WAN
Login is possible, but if I open a picture with a lot of details on it, the client suddenly crashes with "protocol error". If I try to reconnect to the session with a e.g. 24bpp, everything is fine and the picture is shown. Also, if I'm connecting with a higher resolution, e.g. 1920x1200, no protocol error occurs.
Connecting with "LAN" (rfxcodec) is also ok. The behaviour is exacly the same as in #524, which I thought to be solved. Do we still have a buffer which is too small?
Running xrdp with the --nodaemon option gives the following:
ssl_tls_print_error: SSL_write: I/O error
xrdp_rdp_send_fastpath: xrdp_fastpath_send failed
got XRDP SIGPIPE(13)
ssl_tls_print_error: SSL_write: I/O error
xrdp_rdp_send_fastpath: xrdp_fastpath_send failed
got XRDP SIGPIPE(13)
ssl_tls_print_error: SSL_write: I/O error
xrdp_rdp_send_fastpath: xrdp_fastpath_send failed
got XRDP SIGPIPE(13)
ssl_tls_print_error: SSL_write: I/O error
xrdp_rdp_send_fastpath: xrdp_fastpath_send failed
got XRDP SIGPIPE(13)
ssl_tls_print_error: SSL_write: I/O error
xrdp_rdp_send_fastpath: xrdp_fastpath_send failed
However, disabling "fastpath" in xrdp.ini did not resolve the issue.
Is there some "overrun"? I expect if I connect with 24bpp, there is less data to be transferred.
Hint: The issue is not easy to reproduce. Steps that lead me to the crash: Open a xrdp session, then start the program ssvncviewer and connect to a different system with a "fancy" background image.
Tried to copy the background image and open it with an image viewer: no crash....
But if you have an idea where the issue could come from, I will be able to test the modified code.
The text was updated successfully, but these errors were encountered: