Repository navigation
Simulator: GPU desktop hook for the start-locked login script - #189
Merged
Merged
Conversation
The VM's GPU-desktop switch went in before `exec /usr/bin/labwc -m`, which omarchy-a's login script no longer ends with once the session starts locked (a restart loop follows its OMARCHY_START_LOCKED export). The hook now goes before whichever of the two the script has, so new disks get the GPU desktop with released images and the start-locked ones alike. Assisted-by: LLM
Since Omarchy A starts its desktop from greetd's initial_session (no login screen), greetd starts it once per boot and notes that in its runfile; the bridge's plain `systemctl restart greetd` then showed greetd's fallback, and the old desktop lived on in its abandoned session. The bridge now stops greetd, ends the seat's sessions (kill-session: an abandoned session's processes outlive terminate-session here), removes the runfile and starts greetd: a new desktop with the chosen renderer, at the lock screen as after a boot. Assisted-by: LLM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The simulator's disk setup puts its GPU-desktop switch (
/etc/omarchy-a/simulator-gpu) into omarchy-a's login script, keyed onexec /usr/bin/labwc -m. Since OrchardLinux/omarchy-a#81, where the session starts locked, the script ends in a restart loop afterexport OMARCHY_START_LOCKED=1instead. New disks would then lose the GPU desktop, and with it the shell's GPU-only animations, or setup would stop with "no Labwc start to hook".The hook now goes before whichever of the two lines the script has, so it works with released images and with #81.
Tested with GNU sed in the VM against both login scripts (main's and #81's): the switch lands right before Labwc's start in each, and both still parse.