Back to overview
Linux remote desktop

Wayland remote desktop, right in your browser.

DirectGate streams a Linux desktop running on Wayland or X11/Xorg to any browser - KDE Plasma, GNOME, Sway, labwc, Wayfire and Raspberry Pi OS included. No VPN, no open ports, no client app, and every frame end-to-end encrypted.

  • KWin
  • Mutter
  • wlroots
  • labwc
  • Wayfire
  • Sway

Supported desktops

The agent decides how to capture the screen and inject input from the session type, not from whatever happens to be installed.

DesktopSessionScreen captureInput
KDE Plasma (KWin)WaylandXDG desktop portal, PipeWireRemoteDesktop portal
GNOME (Mutter)WaylandXDG desktop portal, PipeWireRemoteDesktop portal
SwayWayland (wlroots)wlroots screencopyVirtual keyboard and pointer
labwc - Raspberry Pi OSWayland (wlroots)wlroots screencopyVirtual keyboard and pointer
WayfireWayland (wlroots)wlroots screencopyVirtual keyboard and pointer
Any Xorg desktopX11 / XorgXShmXTest

How remote desktop works on Wayland

Wayland closes the doors X11 left open. DirectGate goes through the ones the compositor offers.

Through the desktop portal on KDE and GNOME

Wayland does not let an application read the screen or type into it on its own, and DirectGate does not try to work around that. On KDE Plasma and GNOME the agent asks the compositor through xdg-desktop-portal: the picture arrives over PipeWire, and keyboard and mouse go back through the RemoteDesktop portal. The first connection is allowed once on the remote computer; the grant is remembered after that.

Directly on wlroots compositors

labwc, Wayfire and Sway ship a portal that can share the screen but cannot take input. There the agent uses the compositor's own protocols instead - wlroots screencopy for the picture, virtual keyboard and pointer for input - the same way any other app in your session can. This is the path Raspberry Pi OS takes, and it needs no permission prompt.

One low-latency encoder for every session

A Wayland session is a different source of frames, not a second pipeline. Its frames feed the same H.264 encoder an Xorg session uses, with GPU encoding through NVENC, VA-API, Quick Sync, AMF or V4L2 when the machine has it, zero-copy DMA-BUF frames where the driver allows, and adaptive bitrate on the way to your browser.

Details that make it feel local

One cursor, where you expect it

The host pointer is kept out of the video, so you see a single cursor - your own - over whatever it is pointing at.

Your keyboard layout

Keys the host layout has are pressed by position, so the host types as it would for someone sitting at it. Characters from another layout are sent as characters.

Only the screens you share

On the portal path the monitor list is exactly what was allowed on the remote computer. A second monitor appears once it has been shared.

A still desktop costs nothing

PipeWire and wlroots screencopy deliver frames when the screen changes, so an idle desktop sends nothing and the first frame after a keystroke goes out at once.

x86, x64, ARM64 and ARMHF

Install from the apt repository on Debian, Ubuntu and Raspberry Pi OS, or from the dnf repository on Fedora, RHEL, AlmaLinux and Rocky Linux. Any other distribution can build the agent from source.

CPU architectures
x86x64ARM64ARMHF
Install the agent

Wayland remote desktop questions

Does DirectGate remote desktop work on Wayland?

Yes. DirectGate streams Wayland desktops to the browser on KDE Plasma (KWin) and GNOME (Mutter) through the XDG desktop portal and PipeWire, and on wlroots compositors - Sway, labwc, Wayfire, and Raspberry Pi OS - through the compositor's own screen capture and virtual input protocols. X11/Xorg sessions are supported as well, and the agent picks the right path from the session type.

Which Wayland compositors are supported?

KWin (KDE Plasma), Mutter (GNOME), and wlroots-based compositors including Sway, labwc, and Wayfire.

Do I have to approve a prompt every time I connect?

No. On KDE Plasma and GNOME, the first connection shows the desktop's own screen sharing prompt on the remote computer, and someone there has to allow it once. The grant is then remembered and later connections start without a prompt. If the set of screens changes - a laptop lid closes or a monitor is unplugged - the desktop asks once more. wlroots compositors such as labwc, Wayfire and Sway have no prompt at all.

Can I reach a Raspberry Pi desktop on Wayland?

Yes. Raspberry Pi OS runs labwc (Wayfire on releases before late 2024), and the agent streams it through the compositor's own screen capture and virtual input protocols. The agent installs from the apt repository on ARM64 and ARMHF.

Does it still work on X11 / Xorg?

Yes. On an Xorg session the agent captures the screen with XShm and injects input with XTest, on any desktop environment. Sessions that report themselves as X11 always take this path, so an XWayland display is never captured by mistake.

Do I need to install anything on the computer I connect from?

No. The agent runs on the Linux machine you want to reach; the computer you connect from only needs a modern browser with WebRTC - Chrome, Firefox, Safari, or Edge. The session is end-to-end encrypted between the two, and nothing on the Linux machine listens on the internet.

Put your Linux desktop in a browser tab

Install the agent on the machine, pair it with your account, and open its desktop from anywhere.