Live data from Hacker News

Xrdp: An open source RDP server

github.com

51–60 of 80 posts

Re: Xrdp: An open source RDP server

#51
Not sure why you would use this over `ssh -Y`, so I guess it's for Windows users to experience the joy of the "Linux Desktop"?

MacOS sorely needs an RDP server though. VNC is an awful UX for me and idk why. Didn't start off that way.

Re: Xrdp: An open source RDP server

#52
post #44
post #27

I used to maintain some linux remote desktops at my job for specific workflows of certain employees. Wow, using xrdp was a complete gong show to manage. The most common bugs were in the assignment of displays on user logon, as well as a crappy, often buggy, login screen (though GUI logins for linux are fascinatingly weird pretty much universally.) That being said, even in evaluating alternatives there wasn't anything…

How windows rdp manages multiple monitors, and window resizing when you aren’t on a full screen is bananas compared to vnc, the only problem I had is sometimes it d

The resizing/scaling behavior varies widely depending on which of Microsoft’s three RDP clients you were using

(Not kidding)

Re: Xrdp: An open source RDP server

#53
post #51

Not sure why you would use this over `ssh -Y`, so I guess it's for Windows users to experience the joy of the "Linux Desktop"? MacOS sorely needs an RDP server though. VNC is an awful UX for me and idk why. Didn't start off that way.

X11 is an extremely chatty protoy. Try it over a higher latency connection (say, across the US from you) and you will notice that it can take minutes before even xterm will show up.

Also, another benefit of VNC is that it's like tmux: if your session gets interrupted then your programs won't all get HUP'd.

Re: Xrdp: An open source RDP server

#54

I use RDP multiple times every day. I have tested Linux RDP server implementations and they are very buggy and really not production ready only NX kinda is (yet not as good as MS RDP). VNC is so bad and lacks so many features that it's not even considered a competition - it's old insecure slow protocol that should be forgotten by now.

We have xrdp running for several years now. It works fine but took some effort to get there:

- Compile it yourself. The package that comes with your distribution is bad and has things like copy/paste disabled.

- Configuration of authentication takes some effort.

Re: Xrdp: An open source RDP server

#55
post #33

I use RDP multiple times every day. I have tested Linux RDP server implementations and they are very buggy and really not production ready only NX kinda is (yet not as good as MS RDP). VNC is so bad and lacks so many features that it's not even considered a competition - it's old insecure slow protocol that should be forgotten by now.

RDP isn't really meant to be cross platform, right? It's a Windows graphics server telling a Windows client how to draw some Windows widgets. The fact that there are working Linux implementations at all is impressive. By contrast, VNC is pretty close to just sending an image of the screen, with some clever optimization. VNC over SSH should be as secure as you need, but it's never likely to be as performant as RDP.

There is an official RDP client for macOS. I use it every to connect to the Windows PC under my desk, while using the monitors on my laptop.

Re: Xrdp: An open source RDP server

#56
post #54

I use RDP multiple times every day. I have tested Linux RDP server implementations and they are very buggy and really not production ready only NX kinda is (yet not as good as MS RDP). VNC is so bad and lacks so many features that it's not even considered a competition - it's old insecure slow protocol that should be forgotten by now.

We have xrdp running for several years now. It works fine but took some effort to get there: - Compile it yourself. The package that comes with your distribution is bad and has things like copy/paste disabled. - Configuration of authentication takes some effort.

Any chance yo can point me at any notes you have about compiling it? I haven’t managed to do it with latest source successfully.

Re: Xrdp: An open source RDP server

#57
post #33

Earlier quoted context omitted.

RDP isn't really meant to be cross platform, right? It's a Windows graphics server telling a Windows client how to draw some Windows widgets. The fact that there are working Linux implementations at all is impressive. By contrast, VNC is pretty close to just sending an image of the screen, with some clever optimization. VNC over SSH should be as secure as you need, but it's never likely to be as performant as RDP.

There is an official RDP client for macOS. I use it every to connect to the Windows PC under my desk, while using the monitors on my laptop.

keyword: client, not server.

Re: Xrdp: An open source RDP server

#58
post #33

I use RDP multiple times every day. I have tested Linux RDP server implementations and they are very buggy and really not production ready only NX kinda is (yet not as good as MS RDP). VNC is so bad and lacks so many features that it's not even considered a competition - it's old insecure slow protocol that should be forgotten by now.

RDP isn't really meant to be cross platform, right? It's a Windows graphics server telling a Windows client how to draw some Windows widgets. The fact that there are working Linux implementations at all is impressive. By contrast, VNC is pretty close to just sending an image of the screen, with some clever optimization. VNC over SSH should be as secure as you need, but it's never likely to be as performant as RDP.

> It's a Windows graphics server telling a Windows client how to draw some Windows widgets

In the 90's when everything was made of lines and rectangles, you're right that this deep integration made RDP perform much much better.

Now though, nearly all applications are composited bitmaps (webviews, opengl surfaces, etc). There isn't much scope for sending the raw draw calls over the wire anymore, and instead using some video codec to send the surfaces as bitmaps, and then compositing on the client is about the best you can do.

VNC doesn't even do that though...

Re: Xrdp: An open source RDP server

#59

Earlier quoted context omitted.

I'm not an expert on RDP. But I tunnel RDP over SSH all the time... What am I doing right?

it's very common to use RDP over an SSH tunnel. it's not great in low bandwidth situations, of course. but in today's world, it's usually fine.

It works much better in low bandwidth situations if UDP is also available because then things like "the user just closed this application, stop downloading this picture" can happen.

With TCP multi-megabyte buffers can end up forming and when you've shoved data into TCP there's no way to cancel sending it.

Re: Xrdp: An open source RDP server

#60
post #56
post #54

Earlier quoted context omitted.

We have xrdp running for several years now. It works fine but took some effort to get there: - Compile it yourself. The package that comes with your distribution is bad and has things like copy/paste disabled. - Configuration of authentication takes some effort.

Any chance yo can point me at any notes you have about compiling it? I haven’t managed to do it with latest source successfully.

Try this: http://c-nergy.be/blog/?cat=79
Post reply on HN