Skip to content

W3BS OS 1.2.7: boot to a locked desktop, fleet screen out of the box - #237

Merged
ralyodio merged 1 commit into
mainfrom
worktree-os-1.2.7-fleet-screen
Oct 24, 2026
Merged

ralyodio merged 1 commit into
mainfrom
worktree-os-1.2.7-fleet-screen

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

A server install of the desktop showed nothing on w3bs.org/fleet: nobody logs in at a VPS
console, so there was no Wayland session for a VNC server to attach to, and nothing set one up.

  • greetd initial_session logs the first user in at boot with W3BS_LOCK_AT_START=1;
    w3bs-hyprland runs hyprlock as soon as Hyprland is up (a plain Wayland client: in a Lua
    config hyprctl dispatch takes Lua). --no-autologin keeps the greeter.
  • Every Hyprland session runs wayvnc on $XDG_RUNTIME_DIR/w3bs-vnc.sock (0700, no TCP port,
    so other local users cannot drive it), restarted when it exits (it does when the lock
    screen goes away: "Fatal error while capturing").
  • wayvnc in the desktop packages.
  • --fleet-token fj_...: w3bs-fleet-join.service joins at first boot as the first user
    (lingering), with --screen control --vnc unix:/run/user//w3bs-vnc.sock on a desktop.
  • dtest: unlock the boot lock screen from the keyboard; check autologin, the unlock and the
    private VNC socket.

Verified on dev1.w3bs.org (Luxvps, bochs VGA): boots to the hyprlock screen, VNC over the
socket shows it, typing the password over VNC unlocks to W3BS DE, wayvnc survives the unlock,
w3bs fleet screen reports the socket answers.

Co-Authored-By: Claude Opus 5.5 [email protected]

🤖 Generated with Claude Code

A server install of the desktop showed nothing on w3bs.org/fleet: nobody logs in at a VPS
console, so there was no Wayland session for a VNC server to attach to, and nothing set one up.

- greetd initial_session logs the first user in at boot with W3BS_LOCK_AT_START=1;
  w3bs-hyprland runs hyprlock as soon as Hyprland is up (a plain Wayland client: in a Lua
  config `hyprctl dispatch` takes Lua). --no-autologin keeps the greeter.
- Every Hyprland session runs wayvnc on $XDG_RUNTIME_DIR/w3bs-vnc.sock (0700, no TCP port,
  so other local users cannot drive it), restarted when it exits (it does when the lock
  screen goes away: "Fatal error while capturing").
- wayvnc in the desktop packages.
- --fleet-token fj_...: w3bs-fleet-join.service joins at first boot as the first user
  (lingering), with --screen control --vnc unix:/run/user/<uid>/w3bs-vnc.sock on a desktop.
- dtest: unlock the boot lock screen from the keyboard; check autologin, the unlock and the
  private VNC socket.

Verified on dev1.w3bs.org (Luxvps, bochs VGA): boots to the hyprlock screen, VNC over the
socket shows it, typing the password over VNC unlocks to W3BS DE, wayvnc survives the unlock,
`w3bs fleet screen` reports the socket answers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ralyodio
ralyodio merged commit 20aa139 into main Oct 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant