by tomato2juice on 6/11/20, 6:57 PM with 78 comments
by peckrob on 6/12/20, 12:45 AM
Shoestring doesn't even begin to cover it. Buying computers was definitely out. So I hit on the idea of buying used Wyse Winterms. Winterms are thin clients that talk either RDP or Citrix ICA. These could be had for about $20 a pop on eBay. I would hit local pawn shops, thrift stores and recycling places to get monitors and keyboards to go with them.
But they're just dumb terminals with Windows CE on them. How to actually use them?
xrdp!
I set up a Linux system with xrdp and a bunch of X sessions for the Winterms to talk to. Took a lot of fiddling to get it right. Like I probably spent two weeks in the evenings getting everything right. But even I was surprised how well it worked. With a full-screen web browser in kiosk mode it shaved massive amounts of time off how long it took to get through the reg line.
We actually used that setup for about three years before we had enough money to invest in better hardware. Over that time I'd estimate about 8,000 people used them. But I'll always have a soft spot for those stupid Winterms and xrdp.
by rudolph9 on 6/11/20, 10:40 PM
Is the difference between RDP and xforwarding basically RDP is giving you a video of the remote display and sending the mouse clicks + XY position top? Vs xfowarding which natively renders the buttons and such and in the button example sending signal that a particular button got clicked?
I imagine a trade off is more security vulnerabilities with xforwarding? Does some have more incite into this?
by anonymousse1234 on 6/11/20, 10:01 PM
by thaniri on 6/11/20, 10:52 PM
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 much better. Linux remote desktop managers are just not that great yet.
As much as I hate Windows, I have to tip my hat to Microsoft's and say that their RDP implementation stands more than head and shoulders above any alternative remote desktop implementations I've tried.
Developers these days are getting much better at doing things over the command line. The trend of using GUIs for everything recently appears to be ebbing into a "right tool for the right job" mindset. Which is a very promising trend I've noticed. Hopefully remote workflows are entirely done through emulating terminals over SSH in a few years time :)
by ryanmjacobs on 6/11/20, 9:55 PM
The student computers at my lab run Windows and do not allow user's to install software or run foreign executables. They have great monitors though. I use an RDP instance to access my VNC linux boxes remotely.
Windows 7 and Windows 10 come with a built-in RDP client.
Also, VNC is pretty insecure. So I only listen on localhost, then connect via RDP for authentication.
by wronglebowski on 6/11/20, 7:22 PM
by dhrjtnc on 6/11/20, 9:18 PM
Even having working it was much slower than on windows stack within same datacenter.
I've recently heard good words about x2go. I didn't know about it earlier. Maybe it could save someone brain cells :)
For myself I decided do not use the RDP protocol on linux clients' machines.
by philsnow on 6/11/20, 8:30 PM
The performance is good and it doesn't rely on weird (to me) installation like NX does (NX installation creates a unix user, maybe this is necessary for some enterprise-y things, but my use case is "a smoother VNC").
I seem to recall facing issues with having exactly the same version on both client and server because the code didn't try for any forward or backwards compatibility, don't know if that's still the case.
by pixelhorse on 6/11/20, 11:00 PM
I couldn't replicate it a while later after an OS upgrade and I have since given up on it. Does anybody else have experience with this? Should I give it another try?
by ttul on 6/12/20, 12:21 AM
The quality is amazing.
by alexellisuk on 6/11/20, 8:40 PM
by rcarmo on 6/12/20, 8:41 AM
Right now the biggest issue I have with RDP on Linux is that the default packages that ship with most distros are useless—they are either outdated (still in VNC proxy mode) or poorly integrated with login managers. Also, even though I get “free” multi-head when accessing a Windows desktop from my Mac (and believe me, that is an amazing way to work on a daily basis) I have yet to get it to work 100% with a Linux server (it works and I get multi-head, but sometimes displays are swapped for some reason).
Many people don’t “get” RDP because they confuse it with VNC and other remote display solutions. But when it is set up properly, it is _massively_ better than VNC, NX or Xpra in terms of bandwidth, latency, and client support (yes, there are thousands of VNC clients, and every Linux box can do X over SSH, but I can use RDP from my iPad, Android, etc., and those are the thin clients I travel with).
by jennasys on 6/12/20, 12:57 AM
by smooc on 6/14/20, 6:20 PM
Anyone comparing VNC to RDP favorably is nuts. RDP is a much more optimized protocol for high latency, low bandwidth. Only Citrix compares favorably from user's point of view. Maybe NoMachine NX as well. Both i cannot get to work over https (nomachine) and kubernetes (citrix).
Not requiring a custom, vague client also helps.
XRDP uses a Xorg driver or is able to use a VNC backend. Even then its faster than VNC. It can use pam for authentication.
by fomine3 on 6/12/20, 2:12 AM
Personally I encountered a problem that Xrdp recognizes wrong keyboard layout (I use JPN Windows and US keyboard, but recognized as JP keyboard in Xrdp)
by fock on 6/11/20, 11:26 PM
by monksy on 6/11/20, 10:39 PM
by cpbotha on 6/12/20, 8:59 AM
RemoteFX is active, but on my 2560x1440 display there is still a bit of sluggishness. However, it's fine to run PyCharm locally on the WSL2, which is my primary use case with this.
by oddly on 6/12/20, 6:31 AM
by m1keil on 6/12/20, 3:01 AM
by cf100clunk on 6/12/20, 3:20 AM
In the Features section of the xrdp GitHub project page is this: "Connect to a Linux desktop using RDP from anywhere (requires xorgxrdp Xorg module)"
Does this imply that serving from a headless Linux machine is not possible like we can with vncserver instances?
by hendry on 6/12/20, 4:14 AM
MacOS sorely needs an RDP server though. VNC is an awful UX for me and idk why. Didn't start off that way.
by skee0083 on 6/12/20, 12:52 AM
by mehrdadn on 6/11/20, 8:53 PM
by nunez on 6/11/20, 9:47 PM