Hello All. Installed Qubes 4.2.4 on my headless laptop hooked on to external monitor. My Laptop is Asus G713RM . I have successfully used Qubes 4.1 before on the same notebook.
Problem
System goes to sleep even after a short duration, unaffected by xfce power settings. On resuming(with mouse or keyboard) , disk encryption password is asked, after entering, system resets itself.
I didnot have this issue with 4.1 . After inactivity and resuming, it would go to unlock screen rather than disk encryption password.
What i have tried -
tried changing settings with xfce-power-manager
Tried to change grub settings - mem_sleep_default=deep and other as suggested by search engines
Switched to KDE, which reduced the frequency, but still it happens.
When the system goes idle, i try to wake up the screen give or take 4-5s, this happens. Its that UI screen that asks for disk encryption password on boot. When i enter, it hard reboots.
I had tried this method with a debian, I donât know if it also works with Fedora.
In the /etc/systemd/logind.conf file, i modified this line like that: HandleLidSwitch=ignore .
Then sudo systemctl restart systemd-logind
Itâs a long time ago so perhaps i donât reminder well
PS: donât forget to delete the â#â.
Any way to use a script to turn sleep off? Or maybe Qubes is crashing when idle so it is restarting? If so how do i find it out. Please help. Thanks in advance
And did you try sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target? Perhaps in bios you have something about the sleeping/hibernation?
Have desactivate xscreensaver in xfce system settings?
Thanks! tried âsystemctl mask âŚâ as suggested, that didnt work either. Nothing in my BIOS (its Asus ROG strix G713RM laptop, all settings related to sleep are disabled. as far as xscreensaver - i have killed the daemon. Nothing works so far.
One thing to note is it is headless ( faulty display that was removed and now connected to Ext display via HDMI only)
Could you try a small experiment and play some sound like a long music or video file, locally. And turn the speaker volume to make it audible and wait for the suspend to happen, then tell us if the sound still play on resume.
The fact you have the disk encryption screen display is impossible to me, and you mention that typing makes the system hard reset, this makes me think the system is already crashed on resume and shows an old framebuffer value: the boot screen. Under normal circumstances, audio playback should immediately resume when you resume the computer, but not of it has already crashed, you might hear a 100ms loop noise.
Are you sure you went into âSystemâ tab then switched from âbatteryâ to âAC connectedâ, I have a French text version, texts might differ but that battery/AC stuff is not really great UX and you may have missed it. Move the slider to the left so it say âneverâ.