RustDesk Just Solved the Biggest Linux Remote Desktop Problem: True Unattended Access on Wayland
RustDesk, the open-source remote desktop software, announced support for true unattended remote access on Wayland — solving a problem that has plagued Linux users since Wayland replaced X11 as the default display server. The announcement reached 215 points on Hacker News with 94 comments.
The Wayland Problem
Wayland was designed to fix the security problems of X11. In X11, any application could see and inject input events into any other application — a fundamental security flaw. Wayland fixed this by isolating clients from each other.
But this security improvement came with a cost: it broke remote desktop software. In X11, remote desktop tools could capture the screen and inject keyboard/mouse events because X11 was essentially a network-transparent display server. Wayland, by design, doesn't allow this.
The result: on Wayland, remote desktop software could often only capture the screen (via PipeWire screen sharing) but couldn't inject input events. Or it could inject events but only with user confirmation prompts. "Unattended" access — connecting to a machine without someone sitting in front of it to click "Allow" — was effectively impossible.
What RustDesk Did
RustDesk's new implementation achieves true unattended access on Wayland through several technical approaches:
- Wayland input protocol: Using newer Wayland protocols that allow input injection when properly authenticated
- Session management: Creating a Wayland session that doesn't require a physical display to be present
- PipeWire integration: Using PipeWire for efficient screen capture with DMA-BUF support
- Custom compositor integration: Working with GNOME, KDE, and wlroots-based compositors
This means you can now:
- Connect to a Linux machine running Wayland without anyone at the keyboard
- Use the machine as if you were sitting in front of it
- Do this on a headless machine (no physical monitor attached)
Why This Matters
For Linux system administrators, developers, and homelab enthusiasts, this is a big deal:
Homelab servers: Many people run Linux servers at home for media, file storage, or development. Until now, remote access to a Wayland session required either VNC (which has its own issues) or falling back to X11 (which is being deprecated).
Development machines: Developers who want to access their Linux workstation remotely for pair programming, debugging, or running GUI applications can now do so properly.
Family tech support: If you're the "Linux person" in your family, you can now remotely help family members running Wayland-based distributions (which is most of them — Ubuntu, Fedora, and others default to Wayland).
Headless deployments: Raspberry Pi and other SBC users who want a GUI session without a monitor attached can now use RustDesk for proper remote access.
RustDesk vs. Alternatives
RustDesk is often compared to TeamViewer and AnyDesk:
| Feature | RustDesk | TeamViewer | AnyDesk |
|---|---|---|---|
| Open source | Yes | No | No |
| Self-hosted server | Yes | No | No |
| Wayland unattended | Yes (new!) | No | No |
| Free for commercial use | Yes | No | No |
| End-to-end encryption | Yes | Yes | Yes |
The ability to self-host the relay server is particularly important for security-conscious users and organizations. Your remote desktop traffic never has to pass through a third-party server.
Getting Started
To try RustDesk on Linux:
# Download from rustdesk.com or install via:
# Ubuntu/Debian:
wget https://github.com/rustdesk/rustdesk/releases/latest/rustdesk-<version>.deb
sudo dpkg -i rustdesk-<version>.deb
# Arch:
yay -S rustdesk
# Or build from source:
git clone https://github.com/rustdesk/rustdesk
cd rustdesk
# Follow build instructions in README
For unattended access on Wayland, make sure you're running the latest version and have PipeWire installed (it's standard on most modern distributions).
The Open Source Advantage
This is another example of open source solving problems that proprietary software won't. TeamViewer and AnyDesk have had years to implement Wayland support but haven't — likely because Linux desktop users are a small market for them. RustDesk, driven by community needs, solved it.
Based on RustDesk's blog announcement (215 points on Hacker News).
Top comments (0)