loginctl suspend
doesn't work properly on rootless Xorg.
#36183
Labels
loginctl suspend
doesn't work properly on rootless Xorg.
#36183
System
Void 5.15.26_1 x86_64 AuthenticAMD notuptodate rFFF
xorg-server-21.1.3_3
Expected behavior
Laptop goes to sleep immediately when
loginctl suspend
issued & wake up properly when triggered (e.g a key on the keyboard pressed).Actual behavior
Laptop still awake for about 30 seconds with a blank screen before goes to sleep, moreover it kills Xorg when woken up.
Services status: global_services.txt, user_services.txt
Xorg's log: Xorg.0.log
xinitrc: xinitrc.txt
Notes:
loginctl suspend
works fine on xorg-server installed from the repo, which requires the "needs_root_rights" key set to "yes" in /etc/X11/Xwrapper.config, however when I accidentaly run the same command with the same Xwrapper.config on the manually compiled xorg-server (which makes it's running as root) the issue is persist.loginctl suspend
butzzz
and config elogind to ignore ACPI events like explained in: https://docs.voidlinux.org/config/power-management.html#elogindSteps to reproduce the behavior
xbps-src
.xbps-query -p build-options xorg-server
.startx
.ps -o user $(pgrep Xorg)
.loginctl suspend
.The text was updated successfully, but these errors were encountered: