Summary: | RDP compositor fails to establish connection (unable to checkDescriptor) | ||
---|---|---|---|
Product: | Wayland | Reporter: | Michael Hanselmann (hansmi) <public> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | gajownik, john.obaterspok, will |
Version: | 1.3.0 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Debug log |
Description
Michael Hanselmann (hansmi)
2013-11-25 12:59:33 UTC
The log "SSL_CTX_use_RSAPrivateKey_file failed" means that you didn't set a key for RDP encryption. That may explain why the connection is closed so quickly. Could you retry with a --rdp4-key argument set to key file ? Thanks I have tried with a key, a self-signed X.509 certificate, both and without either. I did have a look at the code and found that the checkDescriptor function would return 0 once (I couldn't figure out the exact reason) and the handles would be closed. Consequent calls would fail, too. Same thing occurs for me when I try to start weston with the RDP backend using the Fedora rawhide RPMS 1) Is this issue still reproducible? 2) Could you please attach any certificate and private key that causes "SSL_CTX_use_RSAPrivateKey_file failed" error message? You could also provide instructions how you generate it. Thanks 3) Additionally could you please provide output of: ls -l ../tls.pem (executed from the same directory where you run weston) (In reply to Dawid Gajownik from comment #4) > 1) Is this issue still reproducible? I don't know since I no longer have the environment in which this issue originally occurred and am not using Wayland at this time. > 2) Could you please attach any certificate and private key that causes > "SSL_CTX_use_RSAPrivateKey_file failed" error message? You could also > provide instructions how you generate it. There's a good chance it was a command along the lines of “openssl req -batch -nodes -x509 -newkey rsa:2048 -out test.pem -keyout test.pem”. I'm sorry to not be able to help any further. I've tried pre Weston 1.12 and it seems the bug is still there. *But*, I've managed to get it to work by specifying -width 1024 and -height 768 and using the same resolution from the client. I still get the "unable to checkDescriptor" but mstsc (Windows rdp client) don't crash with protocol error. Can freerdp detect the resolution the client is requesting? -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/wayland/weston/issues/31. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.