// PART 02
General Bots OS image
The desktop edition can ship as the whole operating system: a Debian 13 image
built with mkosi where the General Bots kiosk shell is the only user interface
(desktop/os/). This page describes what that machine does at runtime —
networking, sound, time, removable media, power, locking, the firewall and the
sandbox — because those are the surfaces a laptop user notices first and the
ones that have nothing to do with the chat product.
Session model
| Piece | Behaviour |
|---|---|
| Display | cage (Wayland) owns tty1; there is no display manager, no greeter, no X11 |
| Login user | gbdesk (system account, nologin, home /var/lib/gbdesk) |
| Session bus | the user manager’s bus at /run/user/<uid>/bus; gb-session waits for it and falls back to a private dbus-run-session only if it never appears |
| User services | PipeWire, WirePlumber, the xdg-desktop-portal stack and gvfs are enabled per user through default.target.wants — nothing is spawned by hand from the launcher |
| Recovery | no console, no rescue shell, no ssh: recovery is reprovisioning from a fresh image |
Networking
NetworkManager owns the interfaces (systemd-networkd is disabled), with
wpasupplicant, wireless-regdb and firmware-iwlwifi present, so a laptop
joins WPA2/WPA3 Wi-Fi from Settings → Network. DNS is systemd-resolved.
Inbound traffic is denied by an nftables ruleset loaded at boot. The provisioned
stack (botserver, Vault, PostgreSQL, Valkey, OtterIO, Qdrant, Zitadel) listens on
loopback, and botserver binds loopback in shell mode even when
no_security=false. Exposing the suite to the LAN is a deliberate act: set
GB_ALLOW_LAN=1 in the sidecar environment and add the client address to the
gb_lan_allowed nftables set. There is no Settings switch for this yet; the
appliance ships closed.
Sound
PipeWire with WirePlumber is the audio server, ALSA clients reach it through
pipewire-alsa, and the GStreamer plugin set (base/good/bad/ugly, libav,
pipewire) gives Meet, Player and Jukebox their codecs. The kiosk unit allows the
/dev/snd nodes explicitly, because PrivateDevices=yes would otherwise hide
them.
Graphics diagnostics
Settings → System → Diagnostics produces a support bundle that runs the local
probe helpers (lspci -nn, vainfo, glxinfo -B), redacts the output and
classifies it (graphics_support in
botserver/crates/botsettings/src/os_appliance.rs). compositing = "software"
on a virtual machine or a host without a DRM driver is the expected llvmpipe
fallback, not a broken image; the classifier measures no frame rate. The image
manifest is gated by scripts/check_graphics_support.py, which checks the
Mesa/VA-API packages declared in desktop/os/mkosi.conf — the manifest only,
never a booted image.
Operations reality
There is no in-place upgrade path and no shell. Power users reproduce the
image (desktop/os/build-image.sh), and recovery means reprovisioning from a
fresh image and restoring user data from backup.