-
-
Notifications
You must be signed in to change notification settings - Fork 117
Early GUI connection to preloaded disposables #752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
When the GUI session is established before being paused, the preloaded disposables can use the same GUI session after requesting the qube, thus the time to connect to the session is offset from the request stage to the preload stage. Reverting initial iteration: 212b148 It isn't the default because it comes with various disadvantages: - Depends on apps not autostarting, else they may appear before the qube is paused and can cause confusion; - Cannot adapt to monitor changes, screen resize, plugging external monitor; - Cannot survive display manager logout+login; - Only works after using has logged in to GUI session; For: QubesOS/qubes-issues#10230 For: QubesOS/qubes-issues#1512
1a4e14c to
32a2dc0
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #752 +/- ##
==========================================
- Coverage 70.68% 70.67% -0.02%
==========================================
Files 61 61
Lines 13809 13831 +22
==========================================
+ Hits 9761 9775 +14
- Misses 4048 4056 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
QubesOS/qubes-gui-agent-linux#251 With all the patches accompanying that PR, waiting for GUI agent is done on the preload stage while GUID is established only after the preload is used, this connection is quite fast. The slow part always was the GUI agent startup. Therefore, this PR is superseded. One thing that is still a bit problematic but not much is that preloaded disposables started before there is a GUI session on the GUIVM will have a delayed startup because qvm-run -p --dispvm -- 'notify-send hey'It will fail as the |
Checkout other implementation that might make this one partially or totally obsolete:
When the GUI session is established before being paused, the preloaded disposables can use the same GUI session after requesting the qube, thus the time to connect to the session is offset from the request stage to the preload stage.
Reverting initial iteration: 212b148
It isn't the default because it comes with various disadvantages:
For: QubesOS/qubes-issues#10230
For: QubesOS/qubes-issues#1512
TODO: