7 Commits

Author SHA1 Message Date
Pooya Parsa
6ea924bda9 guest: run x86_64 and i386 binaries through box64 on the Debian image: kw-init registers both ELF types in binfmt_misc with /usr/local/libexec/kw-binfmt, which on first use adds the Debian architecture, fetches its package lists and installs box64 and that architecture's libc6, libgcc-s1 and libstdc++6; .agents/x64.md records what runs, the measurements against qemu-user and the notes on a native front end 2026-11-25 23:47:49 +00:00
Pooya Parsa
24490870cb guest: the home README and the SDL profile comment follow the page's desktop 2026-11-22 23:19:14 +00:00
Pooya Parsa
bcaa48d1d4 web: a Wayland desktop: unmodified Wayland apps in the guest show as windows in the page through wland (npm wland, its relay /usr/lib/kw/wlandr pinned in the base): the page listens on vsock port 1023 and loads wland on the relay's first connection, client buffers are read in place through kwshm, GL clients' dmabufs are shown by virtio-gpu resource without readback (--dmabuf virtgpu, vm.gl.gpu.image()), and the clipboard is bridged; the guest's wland CMD starts the relay and sets the Wayland session (XDG_SESSION_TYPE and the toolkit variables, /etc/profile.d/kw-wayland.sh; Debian's chromium through /etc/chromium.d), and with a relay that has --link-on-demand the page's kw.wayland=1 starts it at boot, so GUI apps need no prefix; launcher tiles foot and GL windows, test/wland/page-check.mjs 2026-11-22 09:39:13 +00:00
Pooya Parsa
9f90e86085 kernel: backport virtio-gpu's damage clips for rendered resources; guest: X draws its own pointer on the DRM device (SWcursor in kw-kms.conf), and the Debian README names kmscube and X with glamor 2026-11-21 23:29:44 +00:00
Pooya Parsa
3b6a91ea67 guest: add a docker shim to the Debian image that installs Docker on first use, configures it for the kernel (no netfilter, bridge, BPF or cgroup namespaces; data root off the overlay; crun without a device cgroup) and starts the service 2026-11-19 22:13:48 +00:00
Pooya Parsa
1c1725a182 guest: install uv and uvx on first use, as the kw layer's shim does for node and bun 2026-11-19 20:55:22 +00:00
Pooya Parsa
1fcc7e6447 Run the distro images as a default user (user, 1000:1000) with passwordless sudo, load the kw profile in every interactive shell, and move ~/README from the page into the images
Sessions and the console run as user in /home/user on Debian and Alpine (doas with a sudo shim there); the host asks for another user with SpawnOptions.user, the CLI's --user or kw.user=. The shims, the command-not-found installers, poweroff and the page's launcher and demos reach root through sudo, and apt, apt-get and apk typed by the user are aliases to it. /usr/lib/kw/shrc gives nested shells, sudo -s and sudo -i the prompt, the command-not-found handler and PATH that only login shells had. The framebuffer, input and sound devices are group-accessible, and host mounts show as the user's.
2026-11-19 20:11:42 +00:00