secana / EnhancedSessionMode

Contains scripts to enable "Hyper-V Enhanced Session Mode" for Linux
Apache License 2.0
81 stars 14 forks source link

Fedora 30 xrdp 0.9.11 workaround #5

Closed elegos closed 5 years ago

elegos commented 5 years ago

xrdp 0.9.11 introduced a bug which breaks vsock, preventing the daemon to start (see https://github.com/neutrinolabs/xrdp/issues/1403 ). Apparently it's Microsoft's lack of pull-request

As a workaround, we should force the download of the sources of the previous available version, which for F30 is xrdp-0.9.9-2.fc30 (unfortunately at the time of writing version 0.9.10 is not available).

P.S. Also the f30 script should be executable

vladp commented 5 years ago

thank you for maintaining the script! I just installed Fedora 30, and with your script it worked perfectly.

XRDP team released a capability to listen to more than one port (so that I can rdp-connect to Fedora VM from a local windows server, as well as from remote workstations). But that capability is in 0.9.11 version (not in 0.9.9) So I was trying to enable the multi-way listening, but realised that your script specifically installed 0.9.9 xrdp due to a bug with XRDP/vsock

Given that 0.9.11 is broken for this use case (according to https://github.com/neutrinolabs/xrdp/issues/1403 ), does it mean that at this stage I would just have to wait for next XRDP release with a fix. ?

And would it be correct to assume, I would have to modify the xrdp.ini (patched by your script) to:

 port=tcp://.:3389
 port=vsock://-1:3389
 use_vsock=false

to allow for both tcp and local connections?

elegos commented 5 years ago

Hello @vladp

I'm sorry I'm unable to answer your question, because I know nothing about xrdp more than that there was a bug in that version, and knowing bash and dnf a little, I made the patch :)

I'd rather ask neutrinolabs in the relative repository :)