Skip to content

Install your first host

Sign in with an account whose email is verified before pairing a host. You need administrator access to install and configure the host.

Start with an x86-64 Linux machine running Debian 13 or Ubuntu 24.04, the supported native package targets. Have an existing Linux account with a real login shell for each person. A hardware video encoder is recommended, particularly for games. Advanced source-based NixOS configuration is described in self-hosting; the Linux release archive is not a Nix flake.

The computer you connect from uses the browser, with no Darpan viewing client installation. Use a Chromium-family browser such as Chrome or Edge and check the controls you need on your actual device. Capabilities vary: some browsers keep system shortcuts or lack keyboard lock.

Open Download for Linux and download the versioned .deb package and its matching SHA256SUMS. Keep both in the same directory and verify the package before installing:

Terminal window
sha256sum --check SHA256SUMS --ignore-missing

The downloaded package must report OK. Stop if verification fails. Then install that exact package with sudo apt install ./<downloaded-package>.deb, replacing the placeholder with its filename. The release archive is also linked on the download page with its setup instructions. A checksum verifies matching bytes; it is not a signature.

Edit /etc/darpan/darpan.env as root. Set DARPAN_ALLOW to a comma-separated list of existing Linux users. Pair the host using the next section, then set DARPAN_PUBLIC_ORIGIN to the exact HTTPS URL in the final pairing receipt. Set DARPAN_CLOUD_URL=https://app.darpan.space and enable DARPAN_CLOUD_SSO=true, DARPAN_CLOUD_SSO_ONLY=true and DARPAN_CLOUD_RELAY=true as described in the installed environment file. Managed hosts require SSO-only access; do not enable a local-password fallback.

Never use an AI agent account as a human login. Cloud sign-in still checks the host’s local account policy.

Follow pairing, then start the services:

Terminal window
sudo systemctl enable --now darpan darpan-connect

Copy the generated address from your pairing receipt, such as an assigned h-… host address, and open that exact HTTPS URL. Complete any access verification, sign in to the verified cloud account mapped to your Linux account, and choose your desktop. The host must remain powered on.

Try typing, a disconnect and reconnect, and the applications you need. Try from an outside network too. Darpan prefers direct/STUN connectivity and uses a relay when needed and authorized. A relay-dependent network still needs a working allocation. See troubleshooting or email [email protected].

  • Native host installers exist only for the Linux targets above. Windows and macOS host installers are not available.
  • Audio is not guaranteed; see troubleshooting.