X11 client library probe
Build this probe with a signed vpac SDK containing musl, libxau, libxdmcp, libxcb and their dependencies. It checks Xauthority path selection, XDMCP network byte order and XCB display parsing without opening a display connection.
export VPAC_MAKEPKG_ROOT="$sdk/root"
v -prod -musl -gc none -cc gcc \
-cflags "--sysroot=$VPAC_MAKEPKG_ROOT -specs=$VPAC_MAKEPKG_ROOT/usr/lib/musl-gcc-sysroot.specs" \
-o "$work/xcb-display" tests/xcb/display.v
vinix-run "$work/xcb-display"
readelf -l -d "$work/xcb-display"
For a diskless x86_64 guest, install BusyBox into the same SDK. Copy its root to a fixture directory, add the probe and build the serial shell ISO with the existing guest runner.
cp -a "$sdk/root" "$work/guest-root"
install -m755 "$work/xcb-display" "$work/guest-root/xcb-display"
"$work/boot" "$work/guest-root" "$vinix_iso" "$work/guest" --shell
qemu-system-x86_64 -machine q35 -accel tcg -cpu max -m 384 -smp 1 \
-cdrom "$work/guest/busybox-shell.iso" -nic none -display none -monitor none -serial stdio
At the vinix> prompt run uname -sm, then /xcb-display. A successful run prints Xau, Xdmcp and XCB display checks passed. Run poweroff -f to end the VM.
The x86_64 worker ran this probe in Vinix on 2026-11-29 with BusyBox 1.38.0-2, musl 1.2.6-1, Xau 1.0.11-1, Xdmcp 1.1.5-1 and XCB 1.16.1-1. The client authorization and protocol recipes originated at ports revision e812945. The XCB recipe added DRI3 to the generated Present header's pkg-config requirements. The signed package hashes are under ~/.local/state/vinix/ports/musl-busybox-CqkBEA/xorg/feed-7/packages.tsv. The transcript is under xorg/guest/worker/serial.log in the same bundle and has SHA-256 b2911de93665161d3dc759511daec7016055373aefb1b512a8c2d0ab223799b5.