# Native console for disposable guest checks
`cargo build --release --locked` also builds `knottvm-console-socket`. The default
`cargo run` command remains `knottvm`. Developer QA can connect the separate
console directly to an already-running guest without creating a managed VM:
```sh
knottvm-console-socket --socket /tmp/private-run/guest.sock --title "KnottOS installation check"
```
The endpoint must be an absolute Unix socket owned by the current user, inside a
directory owned by that user with no group/other permissions. The directory and
socket leaf cannot be symlinks. The console pins the directory descriptor so
replacing its original path cannot redirect the connection. RFB connections also
check the connected process's kernel credentials before negotiation; only peers
with the current effective UID are accepted. This is a local process identity
check, not authentication of the guest operating system.
The existing native Aen console handles rendering and guest input. This command
does not create disks, start or stop QEMU, attach host devices, change VM manager
state, or provide a different display backend. Its caller owns the guest process
and must handle console exit and cleanup. KnottOS's disposable installation QA
harness uses this command for both the installation and the installed-disk boot.
The new checks are covered by private Unix socket and argument fixtures. A real
installation, reboot, native scanout, and hardware acceptance remain separate
release requirements.