FizzyOrange

joined 2 years ago
[–] FizzyOrange@programming.dev 2 points 2 days ago* (last edited 2 days ago)

WPRS uses the term rootless like this. I didn't come up with it. But I agree it is not a great term. If you can think of a better one I will happily use it. Parallels calls it "coherence mode", which also isn't great.

Actually Xprs uses "seamless mode" which is probably better.

[–] FizzyOrange@programming.dev 1 points 2 days ago

Yeah it's more complex. I don't think there's any more overhead though, and there's no reason it will be slow.

Can’t you just run it locally?

No, unfortunately not.

[–] FizzyOrange@programming.dev 1 points 2 days ago (1 children)

Isn't it just basic X forwarding?

[–] FizzyOrange@programming.dev 2 points 2 days ago (1 children)

but there are literally dozens of strategies you probably don’t know about

Oh please tell me, wise old man! You can't be talking about garbage collection, reference counting, smart pointers, never-free, arenas, defer, or god forbid, the "I am perfect and can do it manually and never make mistakes" method. Because I know about all of those methods.

What are these other dozens of methods that I don't know about that mean Rust is unnecessary? 🙄

[–] FizzyOrange@programming.dev 1 points 2 days ago (2 children)

Sorry I misread, VNC is slow. RDP is a lot better. Does not appear to be rootless though, even though IIRC the RDP protocol does support that? I might have misremembered.

[–] FizzyOrange@programming.dev 1 points 2 days ago (1 children)

Yeah MJPEG isn't going to cut it, and as you say it's not rootless.

[–] FizzyOrange@programming.dev 1 points 2 days ago (2 children)

I mean it's totally possible in theory. Do you just mean nobody has actually written something that does this?

[–] FizzyOrange@programming.dev 1 points 2 days ago

You have to launch an app, log in twice and then you get an annoying VNC-style remote desktop, not native windows. Also it doesn't run at all on Wayland. Apart from that it works pretty well - fast, and stuff like copy/paste works. I would just like something that is as convenient as remote X, but not dog slow.

[–] FizzyOrange@programming.dev 1 points 2 days ago (1 children)

See my edit to the post. I probably should have clarified that.

[–] FizzyOrange@programming.dev 1 points 2 days ago

Don't tease gossip? Either say "I'm quitting due to personal reasons" or give actual details "I'm quitting because I received ongoing abuse about being trans on X from several users and I'm fed up with it" (or whatever the reason was; I just guessed that).

[–] FizzyOrange@programming.dev 3 points 2 days ago (5 children)

Sorry rootless in this context means it doesn't have a big window showing the whole remote desktop, instead each remote window shows up as if it were a local window. Nothing to do with the root account. Kind of confusing, sorry!

[–] FizzyOrange@programming.dev 1 points 2 days ago (2 children)

Not rootless as far as I can tell.

24
submitted 2 days ago* (last edited 2 days ago) by FizzyOrange@programming.dev to c/linux@programming.dev
 

Edit: rootless in this context means the remote windows appear like local windows; not in a big "desktop" window. It's nothing to do with the root account. Sorry, I didn't come up with that confusing term. If anyone can think of a better term let's use that!

This should be a simple task. I ssh to a remote server. I run a GUI command. It appears on my screen (and isn't laggy as hell).

Yet I've never found a solution that really works well in Linux. Here are some that I've tried over the years:

  • Remote X: this is just unusably slow, except maybe over a local network.
  • VNC: almost as slow as remote X and not rootless.
  • NX: IIRC this did perform well but I remember it being a pain to set up and it's proprietary.
  • Waypipe: I haven't actually tried this but based on the description it has the right UX. Unfortunately it only works with Wayland native apps and I'm not sure about the performance. Since it's just forwarding Wayland messages, similar to X forwarding, and not e.g. using a video codec I assume it will have similar performance issues (though maybe not as bad?).

I recently discovered wprs which sounds interesting but I haven't tried it.

Does anyone know if there is a good solution to this decades-old apparently unsolved problem?

I literally just want to ssh <server> xeyes and have xeyes (or whatever) appear on my screen, rootless, without lag, without complicated setup. Is that too much to ask?

view more: next ›