Live data from Hacker News

Wprs – rootless remote desktop for Wayland (and X11, via XWayland) applications

github.com

31–40 of 75 posts

Re: Wprs – rootless remote desktop for Wayland (and X11, via XWayland) applications

#32
post #11
post #6

Is it better than xrdp though? I found xrdp last week and it's stellar, basically a microsoft-compatible RDP server for Linux. It's a complete solution, no drama and simply amazing. Every other Linux remote desktop solution I tried was a mess, including Xpra (which was quite involved to even get installed and Debian, and then a letdown, yikes). I wonder what happens with Wprs when you try to launch virt-manager, whic…

For me, definitely yes, because it's rootless. Being able to stream individual windows is an absolutely killer feature. Having to deal with non-native window management is a nightmare, not to mention that it leaves you pulling down more pixels than you need to. Microsoft has similar functionality but it's gated behind enterprise licenses. I ran Xpra for free when I was a kid and it was magical; many years later I've…

Use this to get the functionality without setting up a windows server instance https://github.com/kimmknight/remoteapptool

Re: Wprs – rootless remote desktop for Wayland (and X11, via XWayland) applications

#33

What I never understood is how Spice is not elevated to a separate product. It does a fantastic job handling the graphical, audio, and peripheral connections to VMs, so how come there isn't a Spice server that I can just install to whatever Linux system and remote to it with the Spice clients that are already there? Also, I'd like to plug Sunshine - I think it works on Wayland, and from the tests I did it does a fant…

I love Spice too but it has been deprecated for a while now. https://access.redhat.com/documentation/en-us/red_hat_enterp...

That's redhat deprecating spice in its releases.

That doesn't mean spice is being deprecated.

Re: Wprs – rootless remote desktop for Wayland (and X11, via XWayland) applications

#34
post #28

Is there any open-source remote desktop that forwards the full desktop experience (not just pixels, but also audio, input devices beyond keyboard & mouse, with high refresh rates and low latency)?

pixels, audio, input devices should work these days. additional devices could be forwarded with usbip

high refresh rates and low latency are non-trivial problems because they require realtime video encoding which is less bandwidth efficient than offline encoding which means you need a network transport which can shovel high bandwidth data at low latency and gracefully handle packet losses. if you do it over the open internet you also need to adapt to variable bandwidth. all these things have been done, but someone would still need to tie all of it together in an open source solution. There's the sunshine/moonlight combo for remote game streaming, but it lacks other features for remote desktop use.

Re: Wprs – rootless remote desktop for Wayland (and X11, via XWayland) applications

#35
post #12
post #11

Earlier quoted context omitted.

For me, definitely yes, because it's rootless. Being able to stream individual windows is an absolutely killer feature. Having to deal with non-native window management is a nightmare, not to mention that it leaves you pulling down more pixels than you need to. Microsoft has similar functionality but it's gated behind enterprise licenses. I ran Xpra for free when I was a kid and it was magical; many years later I've…

Xpra can also stream rootless single windows, to html5 or other Xpra clients. I found it annoying with a bunch of sharp edges compared to getting a full desktop, though. You must have a different use-case :)

I used to use WinSwitch instead of just plain Xpra, which was nicer. I think it may be unmaintained now.

Re: Wprs – rootless remote desktop for Wayland (and X11, via XWayland) applications

#36
post #6

Is it better than xrdp though? I found xrdp last week and it's stellar, basically a microsoft-compatible RDP server for Linux. It's a complete solution, no drama and simply amazing. Every other Linux remote desktop solution I tried was a mess, including Xpra (which was quite involved to even get installed and Debian, and then a letdown, yikes). I wonder what happens with Wprs when you try to launch virt-manager, whic…

xrdp on raspberry and ssh bitvise in windows, it is my way to use headless raspberry with graphic interface, and it works absolutely fine.

Re: Wprs – rootless remote desktop for Wayland (and X11, via XWayland) applications

#38

What I never understood is how Spice is not elevated to a separate product. It does a fantastic job handling the graphical, audio, and peripheral connections to VMs, so how come there isn't a Spice server that I can just install to whatever Linux system and remote to it with the Spice clients that are already there? Also, I'd like to plug Sunshine - I think it works on Wayland, and from the tests I did it does a fant…

I looked at the Sunshine / Moonlight combination at one point as I thought something focused on latency would also be great for interactive desktop applications. It turns out though that clipboard synchronization isn't even supported so that was a complete non-starter for me.

Re: Wprs – rootless remote desktop for Wayland (and X11, via XWayland) applications

#39
post #19

Earlier quoted context omitted.

X being network transparent hasn’t been true for decades — no one uses xmotif and similar GUI libs, they just grab a buffer and paint stuff themselves, making the X protocol an inefficient format to carry bitmaps around. Local-first is the correct approach as the end computers are significantly more powerful than 30 years ago. Plus, we can transport bitmaps far more efficiently with compression, so it’s quite obvious…

I'm not sure this is true for apps that commonly forwarded though? My impression is tk for example uses xlib heavily and so has much better behaviour over the network than GTK, and the majority of apps I've seen where the audience uses X forwarding commonly seem to be using tk.

Somebody in a thread the other day lamented how almost always X clients are sensitive to network drops. And the suggestion is to use Xpra! (It’s “like tmux”) Xpra doesn’t forward X though, it is a rootless X server that then forwards everything as compressed bitmaps like VNC. It’s a nice homage to how awful X is even at its one oft purported benefit around here.

X11 network transparency is a pretty poor technology, one can go through each of the “Fallacies of Distributed Computing” document to understand why.

Re: Wprs – rootless remote desktop for Wayland (and X11, via XWayland) applications

#40
post #18

"We've built X. It allows you to run graphical applications over a network." "Here's an optimization for when the X display is the same machine as the process." "We've built Wayland. We all run applications on the same machine as the display and X gets in the way." "We'd like to run applications from machines over the internet." "We've built Wprs. It allows you to run graphical applications over a network." That's th…

There are two seemingly irreconcilable camps at this point as to whether X itself is fundamentally sound technology for remote display or any kind of display technology going into the future. There are many reasons hashed out to death about this. Yes you could continue to add new X extensions, and the second system effect is a real consideration, but neither of those are absolute arguments against starting fresh without legacy baggage both in design and implementation.

X earned its place in the UHH over 30 years ago, at least let’s not pretend this was some universally beloved technology either.

Post reply on HN