RDX / docs

    Loading index

    getrdx.ioPricingSign in

    Features

    Pairing

    Pair two computers on a local network with a one-time code, then reconnect without one.

    Pairing is the one-time step that lets two computers trust each other on a local network. You enter a short code shown on the host, and every later connection skips it.

    The code#

    When you start a host with LAN hosting on, it prints a one-time pairing code in the form XXXX-XXXX:

    text
    Hosting this Mac. Press Ctrl+C to stop.
      Over Tailscale:  rdx join studio-mac
      This network:    rdx join 192.0.2.20
      Pairing code:    K7QM-2XPD   (first LAN join only; expires in 2 min)

    The code uses eight characters from a set that leaves out look-alikes (there is no 0, O, 1 or I).

    A code stops working when any of these happens:

    • 120 seconds pass
    • five authentication attempts have been used
    • one pairing has succeeded

    The host also limits the total number of code attempts it accepts per day of running time, and a restart does not reset it.

    To get a fresh code, press Enter in the host's terminal on macOS, or run rdx host again.

    Entering the code#

    On the viewing computer, join the host's LAN address:

    bash
    rdx join 192.0.2.20

    RDX asks for the code. As you type:

    • letters appear in uppercase
    • the hyphen is added for you after the fourth character
    • only characters the host can generate are accepted
    • pasting K7QM-2XPD, k7qm2xpd or K7QM 2XPD all work

    If the code is right, the viewer opens. The code is tied to the connection you are making, so it cannot be reused by another computer.

    After pairing#

    The pairing is saved on both computers. Joining the same host again needs no code and no confirmation:

    bash
    rdx join 192.0.2.20

    Closing the pairing window does not disconnect devices that are already paired. A host started in the background or at sign-in keeps pairing closed until you ask for a new code.

    Roles#

    A pairing has a direction. A computer can be paired as:

    • a host you join (you are the viewer), or
    • a viewer that controls this computer (you are the host)

    The same two computers can have both. Run rdx devices to list the pairings saved on the computer you are using, with their relationship and status.

    Names#

    A pairing is stored by key, so it shows as an id until you name it:

    bash
    rdx devices name 18d8d129deb1 "travel-laptop"

    When a viewer joins over the LAN, it also tells the host what the computer is called, and the host's rdx devices shows that beside the pairing. To stop telling hosts your computer's name:

    bash
    rdx devices share-name off

    A host keeps a name it was already told until that viewer next joins with sharing off. Names are only labels on your own computers and never affect who is allowed to connect.

    Revoking a pairing#

    To stop a paired computer from connecting, run this on the host:

    bash
    rdx devices forget 18d8d129deb1

    If the host is running, RDX revokes the pairing live and closes any session from that viewer. The saved name goes with it.

    To pair that computer again later, also forget the host on the joining computer, then join with a new code. A revoked computer cannot reconnect with its old credentials.