Getting started
Concepts
Hosts, viewers, how RDX decides to trust a connection, and how its components fit together.
RDX has a small number of moving parts: a host, a viewer, two ways to establish trust, and three components that ship as a set.
Host and viewer#
The host is the computer being controlled. You start it with rdx host. It captures its screen, plays back the keyboard and mouse input it receives, and shares audio and clipboard.
The viewer is the computer you are sitting at. You start it with rdx join <target>, which opens a window showing the remote desktop.
Any computer can be either, at different times. One host serves one controller at a time: if someone is already connected, the host shows as In use and a second viewer is turned away.
Trust#
RDX has no approval prompt of its own. Nobody has to click Allow on the host. Instead, a connection is accepted only if it comes from a device the host can already verify and that you have already permitted.
Tailscale peers you have granted#
A host denies by default and permits by exception. If both computers are signed in to the same Tailscale account, the host asks the local Tailscale daemon who is really on the other end of the connection. It requires that the device is untagged, not expired, and owned by the same Tailscale user. Tagged, shared, expired and unknown devices are refused. A name or address alone is never enough.
Passing those checks is not enough on its own. The device must also hold the Tailscale application capability getrdx.io/cap/rdx toward the host, a grant you create in the Tailscale admin console. It is the only way in over Tailscale. A device that is refused is told so, and an open session ends when its access is removed. See rdx host access.
Use this path for computers on different networks. To grant access, see Use RDX with Tailscale.
Saved LAN pairings#
On a local network, the first connection between two computers uses a short pairing code shown on the host, such as K7QM-2XPD. You type it on the viewer once. The two computers then exchange keys over an encrypted connection (the code itself never crosses the network in the clear), and each saves the other's identity. Later connections use the saved pairing and need no code.
A code expires after two minutes or five tries, and closes after one successful pairing. You can list and revoke pairings with rdx devices. See Pairing.
What is not trust#
- A computer that merely appears on your network. Local network announcements are untrusted and never connect by themselves.
- OS permissions. macOS asks you to allow Screen Recording and Accessibility for the host app once. That is setup for the host, separate from who may connect. See Permissions.
For the details, see Security and trust.
Accounts and guest links#
RDX has no account. Hosting and joining your own computers, over Tailscale or a paired local network, never ask you to sign in. The one exception is a guest link, which lets someone watch your screen from a browser with nothing installed: making one needs a plan, and buying a plan needs an account. The guest never needs one. You sign in at /signin with a link emailed to you, with no password, and the account page shows your plan, relay usage and guest passes, while guest links lists your links and lets you revoke them. See Plans and billing.
Ways to run a host#
| Mode | Command | Lasts until |
|---|---|---|
| Foreground | rdx host | Ctrl+C or the terminal closes |
| Background | rdx host --detach | You sign out or restart, or rdx host down |
| Sign-in startup | rdx host --daemon | rdx host --daemon-remove |
Hosting runs in your signed-in desktop session, because macOS and Windows allow screen capture only there. Nothing hosts before someone signs in. See Start hosting at sign-in.
Components#
RDX is three pieces that are versioned together:
- the CLI (
rdx), which you install and run; - the host app, which captures the screen and applies input;
- the viewer app, which shows the remote desktop.
The installer puts the CLI on your computer. The CLI downloads and verifies the host and viewer the first time you need them, and refuses to launch a host or viewer that does not match its own version. After an update, re-run the installer so all three agree. rdx doctor shows whether the installed host and viewer match. See Components.
Targets#
rdx join and rdx host status take a target: a Tailscale short name (studio-mac), a full MagicDNS name, a Tailscale IP address, or, for join, a private LAN IPv4 address (192.0.2.20). The host prints the exact commands to type. rdx list shows a join target for every device it knows.
Next#
Permissions, then the command reference.