TL;DR The RCA points to a bug somewhere between KDE, X, libvirt and maybe nvidia/kernel, but the workaround is simple: change the setting so the VM won't suspend. Suggestion - The default power settings of the live DVD is to suspended the session after 10 minutes. If a user chooses to use that ISO and to connect to the VM over SSH from a differ machine and run some installation stages that will take longer than 10 minutes (like updating $world), then the machine might get stuck when trying to come out from suspension and the user will need to continue the installation process from the last step. Even if it is an edge case, I think its safe to set the default power settings to not suspend the session.
I think it's only doing that when on battery power, right? I've not seen it autosuspend on AC power.
not sure, the host is a PC, and the VM has no battery emulation.
Ok thanks for the followup, I'll try to look into this soon. If you can find the exact kde ~/.config snippet to disable auto-suspend, that would help move this along.
So on my desktop, with and without that setting I got this diff: < [AC][SuspendSession] < idleTime=600000 < suspendThenHibernate=false < suspendType=8 Is this helpful?
I'm still working on this... it seems that the settings added by the kde config tool will depend on whether your AC or battery or both. Not entirely sure if we can just mash them all together or not.
*** Bug 909522 has been marked as a duplicate of this bug. ***
If you want to, I can test this for you, I assume that there is a script that build it from a deployed VM?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/releng.git/commit/?id=4ecae8fec83252f13912b2c9ffe7f0ece394c7ae commit 4ecae8fec83252f13912b2c9ffe7f0ece394c7ae Author: Ben Kohler <bkohler@gentoo.org> AuthorDate: 2024-03-05 16:53:06 +0000 Commit: Ben Kohler <bkohler@gentoo.org> CommitDate: 2024-03-05 16:53:06 +0000 livegui/fsscript: attempt to disable suspend Bug: https://bugs.gentoo.org/925002 Signed-off-by: Ben Kohler <bkohler@gentoo.org> .../specs/amd64/livegui/files/fsscript-stage2.sh | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+)
LGTM, tested on latest image, can be closed, thanks.