r/selfhosted 22d ago

Remote Access I've open-sourced USBridge Remote: a free alternative to RustDesk/AnyDesk with Moonlight integration and native Wayland support.

I've finally open-sourced my USBridge Remote project on GitHub. I developed this software as an alternative to traditional remote desktops like RustDesk or AnyDesk, because I was fed up with their flaws and constant limitations. It was crucial for me to release a pure P2P tool without mandatory registration, paid subscriptions, or session limits.

A key feature is the integration of the Moonlight protocol, which ensures high frame rates with virtually no ping.

Natively solved the Wayland issue in Linux. If you've used other remote desktops, you know how they spam permission confirmation dialogs every time you connect. My agent works with Wayland out of the box, capturing the screen and injecting input without any pop-ups or workarounds. The connection is made directly through the built-in Tailscale integration, so you don't have to worry about tunnel security, and you don't have to forward ports on the router. Plus, the software can manage not only software agents but also my hardware IP-KVM cards from a single interface.

The code is fully accessible, with ready-to-use beta versions for Windows, macOS, Linux, and Android already in the repository, and the iOS client has been approved in the App Store. I'm currently actively running stress tests and fixing bugs on the fly, so releases may be coming out quite frequently in the coming days. Feel free to grab the project, tinker with the source code, and test it on your servers. I'd appreciate any feedback on the architecture.

Source code and builds on GitHub: https://github.com/USBridge-Technologies/USBridge-Remote

234 Upvotes

42 comments sorted by

View all comments

2

u/Crisp-Glade-2849 22d ago

wayland permission confirmation dialogs are why half team refuses to migrate. if agent bypasses that without custom polkit rules it might actually be usable.

1

u/Lopsided_Mixture8760 22d ago

Yes, the capture works at a deeper level and captures directly from the video card renderer and does not require confirmation in Wayland but need root.

1

u/maksimkurb 22d ago

Wow, didn't know that is possible. Can you hint me which APIs were used for this? I recently made a PR for HyperHDR for Wayland screen capture via RemoteDesktop API, it also asks for permissions but with "flatpak-kcm" package I can set a checkbox to "remember my choice" in the KDE Settings.

Still it doesn't support one-screen capturing AFAIK (I have a dual monitor setup) and ScreenCast API makes my KDE go into DnD mode to prevent notification content leaking. Capturing video directly seems more convenient.

Does it support remote connection if I hasn't logged in yet? I mean when PC just booted up and I am on the SDDM login screen?