verify: support authenticated headless Linux guest checks #228
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/228"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T13:24:42Z.
Problem
Headless Linux verification with GE-Proton11-14/UMU can time out even when guest receipts are correct because the launcher keeps Wine services alive without an accessible display.
Change
Use a private authenticated Xvfb when a graphical session is absent; restore the host environment and clean up on all exit paths. Probe the display and Xauthority used by the guest. Existing desktop and native paths are preserved.
Validation
RTX 4080, NVIDIA 620.73.04, Linux, GE-Proton11-14, isolated offline prefix:
Draft: full check against final branch and additional vendor validation remain outstanding.
Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-26T15:14:18Z.
Heads up: testing this at
513f2ffebroke the X display of a running desktop session here, so please don't merge it as it is, and be careful running its tests on a desktop.Setup: CachyOS, Hyprland with its Xwayland on
:0, GE-Proton11-14, branch merged onto currentmain.What happened
:0, which the session was already using. The log showsverify: private headless Xvfb display :0./tmp/.X11-unix/X0was gone. OnlyX0_, which Hyprland also creates, was left.vulkaninfocouldn't connect, and the fiveguest-present*gates read a white screen (0xffffff), also withmain'sverify.py. LinkingX0back toX0_restored it.Both paths trigger it
test_private_cookie_and_environment_cleanup_even_on_errorstarts a realXvfbwhenever it is installed, so running the Python tests (ortuxbox.py check) is enough.verifywithDISPLAYandWAYLAND_DISPLAYunset does the same. Its 9 selected gates passed, but the socket was removed again.I haven't confirmed why
Xvfb -displayfdconsiders:0free here.Suggestions
/tmp/.X11-unix/X<n>(orX<n>_) or/tmp/.X<n>-lock, for example starting at a high number, and fail if the server can't take it.private_x_servermay be a useful reference.Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T16:47:27Z.
Thanks for catching this, and sorry for the disruption. Kept the PR draft. Updated head:
6b8c71e3a8.4d3dd26.This does not reproduce the original Hyprland collision on your machine, and filesystem/socket selection cannot guarantee against every competing non-cooperating server race. The default is now no new server. Please keep this draft until you are satisfied with the fix; no claim of complete cross-desktop or AMD validation.
Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-26T23:21:23Z.
Deferred: the initial head disrupted a desktop session. Later opt-in headless isolation was tested locally, but the maintainer has not revalidated it. Revisit only with independent display-isolation evidence and a clear request. Closing this draft to make the review queue manageable, per the maintainer's request. The branch and history remain intact at
6b8c71e; no branch deleted.Pull request closed