Skip to content
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

RD Gateway in xrdp - neutrinordp-any status? #1757

Closed
jpmorrison opened this issue Dec 19, 2020 · 4 comments
Closed

RD Gateway in xrdp - neutrinordp-any status? #1757

jpmorrison opened this issue Dec 19, 2020 · 4 comments

Comments

@jpmorrison
Copy link

I want to easily connect to multiple remote windows hosts through a single tcp port

Can xrdp be made into an RD Gateway server - on its own or with some help with haproxy or nginx?

neutrinordp-any would work too but binaries aren't in Ubuntu. I tried building with libgstreamer1.0-dev in Ubuntu 20.04 but it won't link - lots of undefined references in libfreerdp. Build instructions are pretty old. Is is neutrinordp-any still maintained?

Freerdp2 is newer/maintained - can libfreerdp-client or server be made to work instead?

SSH port forwarding is clunky, I'd need a different port for each host.
The best I've come up with is freerdp which can use an http proxy or socks port

RDPGW looked promising but doesn't wort at all for me and adds an oauth layer I don't need.

@matt335672
Copy link
Member

Hi @jpmorrison

I can't answer a lot of your questions - we're busy getting a release put together than the moment.

Yes - neutrinordp is still maintained. I've managed to reproduce your build issue on 20.04. I fixed it, at least as far as linking goes by editing include/freerdp/api.h and replacing this line:-

#define INLINE  inline

with:-

#define INLINE  /* inline */

I appreciate this isn't a fix and I haven't even tested it, but it might let you get a bit further in your investigations. We'll get a fix for this sorted out in the new year.

@jpmorrison
Copy link
Author

Thanks. I was able to build and install NeutrinoRDP with a similar workaround (neutrinolabs/NeutrinoRDP#24 (comment))

I was able to rebuild xrdp-0.9.12 from the source deb/debuild with --enable-neutrinordp added

I setup the rdp proxy with libxrdpneutrinordp.so and connected sucessfully

The RDP connection with libxrdpneutrinordp.so has graphics issues with the mouse cursor - black mouse pointer with a black square behind it but it's otherwise functional.

Will leave this for now if you're in the middle of a release.

@matt335672
Copy link
Member

I've submitted a PR to NeutrinoRDP (awaiting approval) which fixes the compilation issue on gcc 5 and later. It now builds OK for me on 20.04. I wouldn't have thought it would affect your mouse pointer issue but I though I'd let you know.

@matt335672
Copy link
Member

Duplicate of #1333

@matt335672 matt335672 marked this as a duplicate of #1333 Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants