Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 734124 - x11-base/xorg-server: +elogind causes sleep on lid closure
Summary: x11-base/xorg-server: +elogind causes sleep on lid closure
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-27 18:04 UTC by Gentookh
Modified: 2020-07-30 19:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gentookh 2020-07-27 18:04:19 UTC
In x11-base/xorg-server +elogind brings up elogind that have lid closure triggering sleep by default, which causes lots of rear pain for users not accustomed to systemd way of things)

Why was it enabled by default (the +elogind USE-flag)?

Also this elogind is not visible in rc-status report...
Comment 1 Sergio Cayuela 2020-07-27 21:23:01 UTC
See https://gentoo.org/support/news-items/2020-06-24-xorg-server-dropping-default-suid.html

The lid closure behaviour can be configured with the HandleLidSwitch option in /etc/elogind/logind.conf.
Comment 2 Matt Turner gentoo-dev 2020-07-30 19:55:14 UTC
(In reply to Gentookh from comment #0)
> In x11-base/xorg-server +elogind brings up elogind that have lid closure
> triggering sleep by default, which causes lots of rear pain for users not
> accustomed to systemd way of things)
> 
> Why was it enabled by default (the +elogind USE-flag)?

There's a news item.

There's a configuration option for elogind to control this behavior and you can also just disable elogind if you want to run X as root.

Nothing for us to do here.