this post was submitted on 18 Aug 2023
15 points (89.5% liked)

Linux

8121 readers
6 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS
 

I have two systems right next to each other. One of them doesn't have a monitor attached and it's not simple to do so. They are both on the same 1Gbps LAN.

I'm currently using FreeRDP/xRDP to remote into the other system, but the latency is just terrible. I'm able to deal with it, but in some circumstances (like if dynamic ads or videos autoplay on websites) the latency just skyrockets to a a frame very few seconds. The remote system is Kubuntu 20.04 using X.org and not Wayland. I have just about every window decoration turned off or down. And just about every setting I can find to increase performance. The connection settings are the best they can be (I've looked through so many guides and posts about increasing performance), and they have helped a bit, but it's still far from ideal.

I've even tried VNC and AnyDesk and they're both just as bad, which is odd because I've connected to my brother's system in another part of the country on many occasions, and even when he loads up a Youtube video the connection and latency is buttery smooth.

Does anyone here have any recommendations or suggestions on what I can use or do to improve the connection quality?

you are viewing a single comment's thread
view the rest of the comments
[–] CeeBee@lemmy.world 1 points 1 year ago (2 children)

I thought about this, but would I be crazy to forward an entire instance of plasma? Is that even doable or is that just asking for problems?

For a number of reasons I want to keep a separation between my host system and the remote system. I have a specific workflow on the remote system (like apps in the taskbar, etc), and I would like to keep that. But it's not impossible to adapt to a new workflow.

One issue I can envision, is that I use Teams on that remote system for screen sharing and calls. I really don't want to futz with audio redirection. I have headphones plugged into the remote system and I use direct audio.

[–] TootSweet@lemmy.world 3 points 1 year ago (1 children)

I don't know that you can forward an entire instance of plasma. I might be wrong, though. Not sure.

If you want to be able to connect to already-running applications rather than run them originally via the SSH connection, you might be interested in Xpra.

As far as keeping your environments separated, I'd probably recommend a second xorg-server on a different... what do they call them... not virtual terminals. ctrl+alt+f1/ctrl+alt+f2/etc things, though. (Or even a separate virtual desktop.) And just designate ctrl+alt+f2 as your "other system desktop".

[–] CeeBee@lemmy.world 1 points 1 year ago

I don't know that you can forward an entire instance of plasma

I think it's possible, but I think it's one of those things like printing a website screenshot, scanning it, and emailing it.

you might be interested in Xpra.

Thanks, I'll check it out.

I'd probably recommend a second xorg-server on a different... what do they call them

I know what you mean. You're thinking of a display server. That's what xRDP does on the remote system. Although for whatever reason I can't log in to the remote session if the local display server is logged in. But that might have something to do with how Plasma handles authentication. I haven't tried with another DE.

[–] Swiggles@lemmy.blahaj.zone 1 points 1 year ago* (last edited 1 year ago)

That's a difficult question to answer. My intuition tells me that it does not work, because 2 desktop sessions would fight with each other. The applications you export are managed by the local window manager therefore the concept of exporting a whole DE doesn't really make sense. I don't know the answer though and it's just my guess.

What the other answer proposed might be possible though. Take another tty and launch another X session there. It can even be another DE than your primary one. There you can have your own session with its own windows etc. I know for sure that this does work, but you might run into problems if you use Nvidia (at least it was the case a few years ago).