VeloAssist Host for Linux, alpha
Version 0.9 (631), commit d0a218f30105

For testing only. Not signed, no automatic updates, and things will change.

Runs on: Ubuntu 26.04 LTS, 64-bit Arm (arm64), with the standard GNOME desktop on Wayland.
Not yet: X11 desktops, the login screen, file transfer, more than one session at a time.

Install
  tar -xzf veloassist-host-linux-*.tar.gz
  cd veloassist-host-linux-*/
  sudo ./install.sh
It starts the service and the desktop part for anyone already logged in.

Pair and connect
  In VeloAssist on a Mac, iPhone or iPad on the same network, this computer appears under
  Nearby. Pair it: a VeloAssist dialog here shows a six-digit code; check it matches and
  choose Allow. A device's first session shows GNOME's Remote Desktop dialog here: choose the
  screen and press Share. GNOME then remembers that answer for that device, so its later
  sessions start without asking; the sharing icon in the top bar still shows while one runs.
  To be asked again, remove the device (below), which deletes its remembered answer, and pair
  it again, or run reset-grant (below) to delete only the remembered answer. Turn off Allow
  Remote Interaction for a view-only session. Stop sharing from the top bar, or lock the
  screen, to end the session.

Clipboard
  Plain text and rich text copy both ways while a session runs. Images copy when the
  controller asks for one (Copy Clipboard from Host, or a paste key). Files copied in Files
  are never shared: file transfer is not implemented on Linux yet.
  If the Share answer for a device was given before this version, it does not include the
  clipboard, so that device's sessions start without it and the helper says so once in the
  log. Run reset-grant once for that device; its next session asks again with Allow Clipboard
  Access shown.
  Clipboard permissions are per device (--clipboard or --no-clipboard) and there is a
  Host-wide switch. Turning either off stops sync at once. If a session started with the
  clipboard off, turning it on takes effect at the next session, because GNOME's permission
  is requested before the screen is shared. Content is never written to the activity log.

From another network
  A paired device also reaches this computer over the internet; no port needs opening. To pair a
  device that is not on this network, create an invite (below) and send the link to that person,
  who pastes it into VeloAssist. An invite works once, lasts 24 hours unless set otherwise, and
  by default allows viewing only, with each session approved here.

Manage (in a terminal on this computer)
  sudo veloassist-hostctl list                     paired devices
  sudo veloassist-hostctl remove FINGERPRINT       remove one; its running session ends
  sudo veloassist-hostctl permissions FINGERPRINT --control --clipboard
      change what a paired device may do: --control or --view-only, --attended (approve each
      session here) or --unattended, --clipboard or --no-clipboard; with no option it shows
      them. A running session of that device ends.
  sudo veloassist-hostctl clipboard on|off|status   the Host-wide clipboard switch
  sudo veloassist-hostctl reset-grant FINGERPRINT  forget a device's remembered Share answer,
      so its next session asks again (use it once after upgrading an older installation)
  sudo veloassist-hostctl capture-check            check that screen sharing works
  sudo veloassist-hostctl internet on|off|status   connections over the internet
  sudo veloassist-hostctl invite create            make an invite; prints its link once
      options: --label TEXT, --control (allow control), --unattended (no approval here),
      --hours 1|24|168
  sudo veloassist-hostctl invite list              invites and whether used
  sudo veloassist-hostctl invite revoke ID         cancel an unused invite
  journalctl -u veloassist-host                    the service's log
  journalctl --user -u veloassist-session-helper   the desktop part's log

Files: the Host keeps its identity, paired devices, remembered answers and activity log in
  /var/lib/veloassist, and logs to the system journal; it puts nothing in your home folder.
  GNOME itself records the remembered Share answers in its own permission store,
  ~/.local/share/flatpak/db/remote-desktop, alongside the permissions of your other apps.
  Removing a device or uninstalling makes that entry unusable but leaves GNOME's file as it is.

Firewall: if ufw is on, allow TCP port 47470 and mDNS from your local network. Connections over
   the internet need outbound TCP 443 to signal.assist.velosec.au and outbound UDP for the
   session; no inbound port needs opening.

Uninstall
  sudo ./uninstall.sh            keeps this computer's identity and paired devices
  sudo ./uninstall.sh --purge    removes everything

Report problems to assist@velosec.au with the two logs above.
