Skip to the content.

Desktops

Remote and on-device desktops: a VNC viewer, an RDP client, a SPICE client, a GLKVM / PiKVM out-of-band console client, a GPU-accelerated native Wayland compositor that runs inside Haven, and a multi-distro manager for full Linux desktops on the phone. For the local shell side of the on-device distros, see Local Linux.

Desktop (VNC)

Remote desktop viewer with RFB 3.8 protocol support. Pinch-to-zoom, two-finger pan and scroll, single-finger drag for window management, configurable touch click gestures (Settings → Desktop: bind long-press, two-finger tap, and three-finger tap to right-click, middle-click, left-click, or disabled across VNC, RDP, SPICE, and GLKVM), and soft keyboard with X11 KeySym mapping. Fullscreen mode with NoMachine-style corner hotspot for session controls. Connect directly or tunnel through SSH. Supports Raw, CopyRect, RRE, Hextile, and ZLib encodings. Security types: None, classic VncAuth (DES), VeNCrypt (security type 19) with TLSPlain/X509Plain/TLSVnc/X509Vnc/TLSNone/X509None/Plain sub-types — connects to wayvnc, TigerVNC, libvncserver, x11vnc and other servers that require a username alongside a password, wrapping the socket in TLS after sub-type negotiation — and Apple Remote Desktop (security type 30) for macOS Screen Sharing. With a username set, Haven logs into that macOS account, so the server shares the user’s own desktop; a password-only VncAuth login is tied to no account, and current macOS answers it with a separate login-window session.

Desktop (RDP)

Remote Desktop Protocol client built on IronRDP via UniFFI Kotlin bindings. Connects to Windows Remote Desktop, xrdp (Linux), and GNOME Remote Desktop. EGFX (MS-RDPEGFX) graphics-pipeline support — ClearCodec and RemoteFX Progressive decoders light up the fast graphics path on modern Windows (verified against Windows Server 2025), with a slow-path fallback for servers that don’t negotiate it. Pinch-to-zoom, pan, keyboard with per-connection layout selection (en-US, en-GB, de-DE, de-CH, fr-FR, fr-BE, fr-CH, es-ES, es-419, it-IT, pt-PT, pt-BR, sv-SE, pl-PL, or automatic device locale), mouse input, and per-connection audio and device redirection (remote sound routing, microphone input redirection, two-way text clipboard sync, single-folder sharing, location forwarding, and camera redirection). SSH tunnel support with auto-connect through saved SSH profiles. Saved connection profiles with optional stored password.

Desktop (SPICE)

SPICE client for QEMU/KVM and libvirt virtual machines, built on a vendored Rust SPICE core exposed through UniFFI Kotlin bindings (the same approach as the RDP client). The display channel decodes the SPICE image codecs — raw bitmap, LZ, GLZ and ZLIB-GLZ dictionary compression, and QUIC (SFALIC), plus the image cache — alongside server draw operations, hardware-cursor shape and position, and multiple display surfaces. Input covers the keyboard (PC XT/AT Set-1 make/break and extended 0xE0 scancodes, with per-connection guest keyboard layout selection matching the RDP layout catalog), an absolute or server-relative pointer, mouse buttons and the scroll wheel. The viewer shares the VNC/RDP gestures: two-finger pinch-zoom and pan, and a soft keyboard. SSH tunnelling is supported — the SPICE core dials its own TCP socket, so Haven opens a local -L forward through a saved SSH profile and points the client at 127.0.0.1. Decoding is verified pixel-correct against QEMU and Windows Server 2025 guests (the GLZ and QUIC paths). Configure SPICE connections in the Connections tab or via the agent (MCP).

Desktop (GLKVM / PiKVM)

Out-of-band hardware KVM client for GL.iNet GLKVM units (a PiKVM kvmd fork) over HTTPS. Opens as a desktop tab alongside VNC, RDP, and SPICE: pulls full-resolution HDMI snapshots from /streamer/snapshot and sends touches, drags, scroll wheel notches, and keyboard input as USB HID events (/api/hid/events/*), so a phone can control a target machine with no software agent installed on the target.

Agent-driven desktop control (RapidOCR + 2D k-d tree)

Every remote desktop tab (VNC, RDP, SPICE, and GLKVM) can be inspected and driven through the MCP agent endpoint:

Native Wayland Desktop

GPU-accelerated Wayland compositor (labwc) running natively inside Haven. Full interactive terminal with keyboard input, mouse interaction, server-side window decorations, pinch-to-zoom, and fullscreen mode with corner overlay menu. The GPU pipeline renders via GLES2 on the device’s GPU (AHardwareBuffer allocator, ASurfaceControl zero-copy presentation). Native Wayland clients can render 3D content — includes a built-in GLES2 benchmark (rotating lit cube at 60fps on Mali-G715). Display-scale / resolution control — pick the compositor’s output resolution from the toolbar or fullscreen menu; it reflows windows at the new resolution rather than just visually zooming. Configurable shell (/bin/sh, bash, zsh, fish) and shared keyboard toolbar (Esc, Tab, Ctrl, Alt, arrows, function keys, plus a Super/Mod4 key for compositor keybinds). External Wayland clients can connect via Shizuku (symlinks the socket to /data/local/tmp/haven-wayland/). No root required — runs in PRoot with an Alpine Linux rootfs.

GPU-accelerated Linux GL apps

A single Linux GUI app can run in a cage (single-app kiosk compositor) with the device GPU passed through — no /dev/dri, no root. A host-side virglrenderer broker hands the Mali GPU to the guest:

Local Desktops (multi-distro manager)

A Desktop → Manage view installs and runs full Linux desktops on-device via PRoot, with no root. Pick a distro — Alpine (APK), Debian (APT; 13 Trixie or 12 Bookworm), Ubuntu 26.04 LTS or 24.04 LTS (APT), Arch Linux (PACMAN), or Void (XBPS) — and install them side-by-side; each carries its native package manager. For each installed distro you can install, start, and stop desktop environments, open a shell into it, and read a Room-backed install log that names the layer that broke if a package install fails.

Desktop environments:

App Windows, Guest Services, and Community Recipes

Under Desktop → Manage, each installed PRoot distro also supports single-app Wayland/Xwayland windows (App windows) and supervised loopback daemons (Guest services):


← All features