Commands
rdx tui sessions and auto-join
How sessions opened from rdx tui work, how to enter pairing codes, windows of their own, and auto-join of new hosts.
This page covers joining from rdx tui: managed sessions, windows of their own, and auto-join.
Two ways to join#
| Way | Keys | What happens |
|---|---|---|
| Managed session | Enter on a row, /join <target> | The interface owns the session. Its window closes when you disconnect from the interface |
| Window of its own | o, /open <target> | The viewer takes the session over once the desktop shows. The window stays open when the interface quits |
Only one managed session runs at a time ("A session is already active."). The first explicit join installs the viewer if it is missing ("Preparing the viewer..."). The header chip shows the state: preparing, connecting, needs code, connected, reconnecting, closing or failed.
rdx join <target> in a shell is the same as o: it hands the session to the viewer and exits.
What you can join#
- A Tailscale device, using the status check that listed it. If it has not answered, you are told to press
r. - A saved LAN pairing, with no code.
- A host discovered on this network:
paired, orneeds code. - A name or address typed after
/joinor/open: a Tailscale name, or a private LAN address. For an unknown LAN address the interface asks what is running there (up to five seconds), then uses a saved pairing or asks for the code.
Rows discovered on the network can only be joined as managed sessions with Enter. After they show as paired, o can open them in their own window.
Entering a pairing code#
When a host needs its one-time code, a card shows the code field with the time left. Type the code as shown; the hyphen appears by itself, characters outside the host's alphabet are ignored, Backspace and Ctrl+U edit, and Enter submits once complete. Pasted text never enters the code. Esc or Ctrl+C cancels.
| Message | Meaning |
|---|---|
| "Pairing failed. Check the host code and try again." | The host turned the code down; the card opens again |
| "The pairing code expired. Try again with a fresh host code." | The code ran out while asked for |
| "No RDX host answered at that address..." | Nothing is listening there |
| "The RDX host at that address cannot be joined right now: it is in use or not ready to share its screen." | Another viewer is connected, or permissions are missing |
A successful pairing is named for you automatically, and a Name this computer card may open so you can change it.
Reconnecting and leaving#
If the connection drops, a managed session retries up to three times within 30 seconds, to the same hosting run. Outcomes are reported in plain words: the host ended the session, the connection failed, or recovery did not complete.
don the Devices tab or/disconnectdisconnects. The remote host keeps running.- While a session is open, a single Ctrl+C disconnects.
- Ctrl+D, Ctrl+Q or
/quitover a connected session asks: Close the session and quit, Keep the window open and quit, or Cancel (the default).
"Keep the window open" and /detach close the managed session and reopen it in a window of its own about a second later, so the window closes and reopens. A session joined from a discovered network row cannot be kept or detached.
A window of its own has 180 seconds to reach the viewer. From the moment the viewer takes it, the interface cannot see or close that window; close it from the window itself.
Auto-join new hosts#
Press w (or run /autojoin) to turn auto-join on or off. It is off whenever rdx tui starts.
While it is on, this computer watches for hosts that start hosting and joins them. It does not host and does not make this computer discoverable. It is rdx join --listen inside the interface.
- Hosts available when you turn it on are skipped ("Skipping N hosting instances available at startup...").
- One new trusted host (a Tailscale device or a saved pairing) is joined at once, about a third of a second later, in a managed session ("Connecting to NAME...").
- Several new hosts, or a LAN host with no saved pairing, open an "Auto-join: new hosts are available" card instead, so an unverified computer can never put a code prompt on screen by itself.
1to9, Up/Down orj/kmove the highlight, Enter joins it, Esc orqskips every host in the card. - When a session ends, that hosting run is not offered again until the host restarts.
- Auto-join follows tracked machines: while any is tracked, it checks only those.
rdx join --listenin a shell always checks every machine. - The header shows an
Auto-joinchip and the Local group title says "auto-join on". - If the viewer cannot start or refuses the watch, auto-join turns itself off with "Auto-join could not start: ...".
See the rdx join --listen rules for what counts as a new host.