Comments (11)
I ran into this too, no idea of solution though.
from elogind.
@kensington are you also running arch linux?
from elogind.
@kensington are you also running arch linux?
@CameronNemo no, Gentoo
from elogind.
Do you eventually use this build?
If so, the pkgbuild is just playground, nothing to use on a productive system, and the elogind version produces some troubles.
from elogind.
@udevd I use this package https://aur.archlinux.org/packages/elogind-git/
from elogind.
elogind takes over suspension. If you have another tool to do that, like powerdevil, laptop-mode-tools, acpitools, whatever-tools, they get in each other ways.
Just tell elogind to ignore suspend commands in /etc/elogind/logind.conf
from elogind.
I don't have any other tools to manage suspend
from elogind.
@jcjordyn130 Then what kind of system are you using? Which init system? Which DE/WM?
from elogind.
system? as in? I'm using minirc and plasma 5 with elogind of course
from elogind.
@jcjordyn130 I am asking, because your details so far where limited at best.
However, lets try to get to the bottom of this.
The main reason for a suspend loop is two "systems" thrashing into each others legs.
Example:
When I first installed elogind on my system (Gentoo/openrc/Plasma 5) I got a suspend loop, because the default installation uses ConsoleKit2 as session tracker.
PowerDevil, fully aware that Plasma was started through ck-launch-session, caught the suspend signal, and asked CK whether this was in order.
In the meantime elogind had already decided that suspension would be fine and put my laptop to sleep.
After resuming, the woken up processes around PowerDevil simply continued their work on putting my laptop into suspension.
The first fix for me was to change the file /etc/elogind/logind.conf
From:
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
To:
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
After I got rid of ConsoleKit2, I switched back to the defaults and everything is working fine now.
So if you change said file to make elogind ignore these events, restart your system, and find that you can suspend normally again, you have something getting into elogind's way. Get rid of it and you can have elogind do its job.
Important: Having more than one session tracker at the same time is a very bad idea.
So use either "ConsoleKit2" OR "systemd-logind" OR "elogind".
from elogind.
This issue is fixed in the v226.4 release at elogind/elogind, so this issue can be closed.
from elogind.
Related Issues (8)
- No docs dir HOT 1
- rundir-219.12 HOT 14
- loginctl cannot lock own session HOT 10
- VT's in elogind HOT 7
- gperf 3.1 HOT 2
- withdrawn
- Service type tty even for a user@notty ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elogind.