Commands
rdx doctor
A read-only report of what this computer can do, with optional JSON output.
rdx doctor inspects this computer and prints what RDX can use. It never launches a host or viewer, never asks for permissions, and never changes anything.
Synopsis#
rdx doctor [--json]Example (macOS)#
RDX 0.1.0 · macos aarch64
Host: installed 0.1.0 (release), matches this CLI
Viewer: not installed
Remote readiness has not been checked. Use --list for authenticated status.
Tailscale: running
Tailscale source: Tailscale is asked through its local API.
Running host: No host is running.
Running host: Tailscale access: only devices granted RDX access in the Tailscale admin console.
Permissions: Screen capture and Accessibility can only be verified by the host itself. Doctor never checks or requests them. Run rdx host, or read a running host with rdx host status <target>.
No permissions requested or settings changed.What it reports#
- Platform and version of the CLI.
- Host and viewer components (macOS):
matches this CLI,not installed, ornot verified.not verifiedmeans a component is present but would be rejected at launch (wrong version, channel, architecture, protocol, or signature); update or reinstall. - Tailscale:
running,installed but not running,not installed, orinstalled; daemon state could not be read(no answer within three seconds). RDX asks Tailscale through the one program the host asks, found in fixed places only and never through yourPATH. ATailscale source:line says whether it was asked through its local API or through thetailscaleprogram. Where RDX asks none, the line afterTailscale:says why. - Tailscale notes: one
Tailscale note:line for each cause the status shows that stops RDX over Tailscale, for example that Tailscale is stopped or signed out, that the key has expired, or that this computer is a tagged or shared device. When Tailscale shows how it reaches your other devices, one line counts the routes: connected directly, or relayed. No line names a device or an address. - Running host: whether a host runs on this computer, and who it lets in over Tailscale: only devices granted RDX access. If the host was started by an older RDX, or could not be checked, the line says so. When the host reports its media route, one more line says whether it keeps the media of Tailscale sessions inside Tailscale. See
rdx host access. - Local network (macOS): whether macOS was last seen to refuse the RDX viewer the local network, as
rdx tuilast saw it. Doctor searches nothing. - Permissions: always a note that only the host can verify Screen Recording and Accessibility (Device Control and Data Access on macOS 27, where doctor uses that name).
On Windows and Linux, doctor does not inspect installed components; it reports whether hosting and joining are available in this build. The Tailscale and running-host lines appear on all three platforms. With RDX_STATE_DIR set, doctor does not read the running host.
Doctor makes no remote queries, so it cannot say whether a host is ready. Use rdx list for authenticated readiness.
JSON#
rdx doctor --json| Field | Meaning |
|---|---|
schema_version | 1 |
version, platform | CLI version; os and arch |
integrations | Such as tailscale: available, unavailable or unknown |
capabilities | host, viewer, permission_checks, authenticated_readiness, ... with values available, unavailable, unknown or not_implemented |
tailscale | running, not_running, not_installed or unknown |
tailscale_note | Why RDX asks no Tailscale program on this computer. Left out where one is asked |
tailscale_source | api or cli: how the local Tailscale is asked. Left out where nothing is asked |
tailscale_notes | The causes the status shows that stop RDX over Tailscale, as sentences. Left out when there are none |
tailscale_routes | How this computer reaches your other devices: counts of direct, relayed and peer_relay routes, the relay regions, the latest and earliest handshake ages in seconds, and a note. Left out where the status shows no route |
host | What is known of this computer's host: access (no_host, confirmed, older or unchecked), notes and, where the host reports it, media with a route (inside, any or not_followed) and a note. Left out with RDX_STATE_DIR set |
local_network | macOS only: viewer (denied, allowed_seen, unanswered or nothing_seen), when it was seen and a note |
permissions | { "state": "host_only", "note": ... } |
components | macOS only: host and viewer, each with state (matches, not_installed, not_verified) and, for matches, version, channel, control_protocol, session_protocol and media_abi |
The report omits local paths and device identifiers.
In rdx tui#
The Doctor tab shows the same findings, leaving out rows that are unknown or not_implemented. JSON stays CLI-only.
Exit behavior#
0 when diagnostics completed, even with unavailable integrations. 1 on failure. 2 for invalid arguments (only --json is accepted).