News for hackers. Stuff that matters.
Re:Xrdp: An open source RDP server by anonymousse1234 on Thursday June 11, 2020 @06:01PM (#23493751)
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.
Re:Xrdp: An open source RDP server by dmurray on Thursday June 11, 2020 @07:57PM (#23494501)
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.

Re:Xrdp: An open source RDP server by londons_explore on Friday June 12, 2020 @01:54AM (#23496444)
> 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 by tasogare on Friday June 12, 2020 @01:07AM (#23496228)
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 by thayne on Friday June 12, 2020 @01:42AM (#23496394)
keyword: client, not server.
Re:Xrdp: An open source RDP server by efreak on Monday June 15, 2020 @06:22AM (#23525803)
This is part of why Windows is my main boot OS on my desktop. Remoting into Linux (whether it's my SBCs, laptop, or a VM) from Windows is easier and works better than the opposite.
Re:Xrdp: An open source RDP server by dheera on Thursday June 11, 2020 @08:39PM (#23494777)
Although VNC allows multiple users to view the same screen at the same time (and fight over the mouse if they wish).

In all seriousness though it's useful if you use VNC just to remote monitor a screen and want to leave it open indefinitely.

Also RDP uses TCP and UDP which makes it bad for SSH tunnelling, as opposed to VNC which is TCP only and easy to tunnel.

Re:Xrdp: An open source RDP server by yyyk on Thursday June 11, 2020 @10:04PM (#23495263)
RDP can be limited to TCP. Microsoft's client autodetects whether UDP is available and can work without it.
Re:Xrdp: An open source RDP server by gmfawcett on Thursday June 11, 2020 @09:16PM (#23494989)
I'm not an expert on RDP. But I tunnel RDP over SSH all the time... What am I doing right?
Re:Xrdp: An open source RDP server by benwsapp on Thursday June 11, 2020 @11:43PM (#23495812)
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.
Re:Xrdp: An open source RDP server by londons_explore on Friday June 12, 2020 @01:58AM (#23496460)
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 by sebazzz on Friday June 12, 2020 @01:06AM (#23496224)
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 by m1keil on Friday June 12, 2020 @01:15AM (#23496267)
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 by oddly on Friday June 12, 2020 @02:19AM (#23496562)
Re:Xrdp: An open source RDP server by Erlich_Bachman on Friday June 12, 2020 @03:19AM (#23496876)
VNC supports TLS... What part of that is insecure? By my experience I can't see in which use cases it would be slow either, but they possibly exist...
Re:Xrdp: An open source RDP server by vladvasiliu on Friday June 12, 2020 @04:04AM (#23497109)
For me VNC feels more sluggish than RDP. I can tolerate working with RDP to a server over Wi-Fi over a DSL line. VNC between two computers on my home network (client on Wifi and server on wire) feels laggy. If I connect the client to a wire, it's tolerable.