RDX / docs

    Loading index

    getrdx.ioPricingSign in

    Commands

    rdx join

    Open the viewer for a host by name or address, enter a pairing code the first time, or listen for hosts as they appear.

    rdx join <target> opens the RDX app on a host. rdx join --listen waits for hosts to start hosting and opens them.

    Synopsis#

    text
    rdx join <target> [--display <n>]
    rdx join --listen

    The options can come before or after the target, and each can be given once.

    OptionMeaning
    --display <n>Start on the host's display n, from 1 to 16, with 1 as its main display. The main display shows for a moment first.

    Every join opens the RDX app. --viewer is no longer taken: RDX answers "rdx join has no --viewer option: every join opens the RDX app."

    Targets#

    FormExampleNotes
    Tailscale short namestudio-macYour Tailscale account, once granted RDX access; no code
    Full MagicDNS namestudio-mac.example.ts.net
    Tailscale IPv4 or IPv6 address198.51.100.12, 2001:db8::12Quote bracketed IPv6 in your shell
    Private LAN IPv4 address192.0.2.20Saved pairing, or a one-time code
    A saved host's ida1b2c3d4e5f6The whole 12-character id from rdx devices. Joins that host's last saved address, with its saved pairing and no code

    You may add RDX's own port, :49379, after a name, IPv4 address or bracketed IPv6 address; it is ignored. Any other port is refused with the form to use. Do not add a URL scheme or an interface zone.

    Names resolve through your local Tailscale daemon, ignoring letter case and one trailing dot. Tailscale targets must be untagged, unexpired devices owned by your Tailscale user. If a name cannot be resolved because Tailscale is not running or has no such device, the error points you to the LAN address that rdx host prints.

    rdx list shows the join target for every device it knows.

    Join over Tailscale#

    bash
    rdx join studio-mac

    No code and no prompt. If a name has several addresses, RDX tries IPv4 first and can try another after a transport failure.

    Join over a local network#

    bash
    rdx join 192.0.2.20

    RDX uses the one matching saved pairing if there is one. Otherwise it asks, in an interactive terminal, for the eight-character code that rdx host shows on the other computer.

    Entering the code#

    • The code appears as you type, in the host's XXXX-XXXX form. The hyphen is added after the fourth character.
    • Letters are shown in uppercase. Characters outside the host's alphabet (2-9, A-Z without I and O) are ignored.
    • Pasting K7QM-2XPD, k7qm2xpd or K7QM 2XPD all work.
    • Backspace edits. End of input cancels.
    • A wrong or expired code fails with Pairing failed. Check the host code and try again. Ask the host for a fresh code (press Enter in its terminal) and join again.

    Once the code is accepted, the pairing is saved and later joins need no code. The prompt needs a real terminal; scripts must keep stdin open.

    Each LAN join also tells the host this computer's name, so the host's rdx devices and rdx tui can label the pairing. Turn that off with rdx devices share-name off.

    Listen for hosts#

    bash
    rdx join --listen

    Stays running and watches for same-owner Tailscale hosts and discovered LAN hosts that start hosting, and opens the one that appears. Hosts that were already available when you started are skipped.

    • A trusted new host (Tailscale device or saved pairing) opens straight away.
    • Several at once, or an unpaired LAN host, offer a numbered picker. Unpaired hosts are labelled unverified and still need the pairing code.
    • A session you end yourself returns to listening and does not reopen that same hosting run.
    • If the connection drops, RDX gives the same host a bounded chance to recover before looking at others.
    • Ctrl+C closes the viewer session it owns. It never stops the remote host.

    rdx tui offers the same thing as auto-join. See Auto-join.

    After joining#

    The viewer toolbar offers audio mute and volume, Send and Get clipboard, a Ctrl and Command swap, Mouse: Local or Remote, full screen and Disconnect. Disconnect ends your session and leaves the host running. If the network drops, the viewer waits and reconnects, retrying for up to two minutes. See Remote control and Clipboard.

    Joining downloads and verifies the viewer the first time. The CLI hands the session to the viewer window and exits once the desktop appears.

    Platform notes#

    • macOS: supported.
    • Windows: supported, over a local network or Tailscale. Windows join accepts the same targets.
    • Linux: needs a viewer build and a graphical session; no installer yet.

    Exit behavior#

    StatusMeaning
    0The viewer took over the session, or the listener was ended normally
    1Could not connect, resolve the target, pair, or confirm viewer ownership
    2Invalid arguments

    If a name or address conflicts (different node identities), the join fails before any viewer is installed or launched. If the viewer's hand-over cannot be confirmed, RDX says so and does not open a second session on its own.

    See also#

    Quickstart, Join from Windows, rdx host, rdx stream, rdx viewer, rdx quality.