-
Notifications
You must be signed in to change notification settings - Fork 113
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
Check client_info version from xrdp #184
Check client_info version from xrdp #184
Conversation
As discussed on Gitter, I think the disconnect error code @aquesnel has mentioned is a good idea, when we can get the log window working. I can raise a separate issue for the Xorg log window (which could include the disconnect code), or I could pull that in to scope of this work. I'm quite torn about priorities here. The SCP stuff I'm looking at is important, but I can see that getting the error reporting improved for Xorg would help a lot for the user community. I'm happy to take advice from anyone (@metalefty, @Nexarian?) as to the best course of action here. |
Hi @matt335672, I agree that the SCP work is important, and that we don't want to delay it because of increasing scope on tangential work. I'm not familiar with either the details of the SCP work nor xorgxrdp, so I can't give my opinion on what to do, but here are a few questions that I'd ask myself to help make a decision:
If the answer to either question is yes, then I'd expand the scope of this issue, otherwise I'd create a new issue for tracking the disconnect error code work. Here's my thoughts on the work needed to add the disconnect error code to the log window: I think the work needed is to add a disconnect message type and then publish the error code to the existing log window from xrdp_wm.c via the server_msg() function exposed in the module interface. I'm not familiar with the xorgxrdp code so I'm not sure how much effort it would be to do this work. If you have a different idea please do share it. |
Yes, that's pretty much the kind of lines I was thinking along. I'm not that familiar with xorgxrdp, but around line 244 of xup.c in I think we're into additional issue/PR territory now. I'll raise a separate issue on this, and add the detail above. Maybe we can get this tiny enhancement into devel (which is better than nothing) and get more discussions going around the relative fragility of the Xorg startup sequence. |
b098b97
to
7ad1981
Compare
Companion PR to neutrinolabs/xrdp#1813
This won't pass CI at the moment for obvious reasons!
Here's the tail of an example xorgxrdp log for a version mismatch:-
I've gone for a fatal error as I think this will save time in debugging. Thoughts?