Comments (14)
I am not sure I am hitting the same problem with unlock.
But if I suspend or hibernate the system, it wakes up, and auto sleeps again after 5 seconds.
As if the system rejects some credentials or so.
Jun 24 18:47:36 laptop kernel: elogind[2012]: Suspending system...
Jun 24 18:48:26 laptop kernel: elogind[2012]: System resumed.
Jun 24 18:48:26 laptop kernel: elogind[2012]: Suspending system...
Jun 24 18:49:15 laptop kernel: elogind[2012]: System resumed.
Jun 24 18:49:15 laptop kernel: elogind[2012]: Suspending system...
Jun 24 18:50:16 laptop kernel: elogind[2012]: System resumed.
Jun 24 18:50:16 laptop kernel: elogind[2012]: Suspending system...
from elogind.
I saw the same issue.
from elogind.
@udeved it looks like on guix this is created by the system, so maybe this is a distro integration problem instead: http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/file-systems.scm#n210
from elogind.
Thx, I'll have a look.
I did simply put the run_dir creation in dbus openrc-run script.
Gentoo basically serves as upstream to provide alternative on arch based systems.
Out of curiosity, did you manage to start a wayland session on gentoo with elogind?
It doesn't work for me both on gentoo and manjaro.
from elogind.
@udeved yep, although it's still a work-in-progress upstream I was able to launch KDE Plasma / Wayland session in the past with the help of elogind.
from elogind.
Perhaps the important question, did you use libinput instead of evdev for xorg input drivers?
from elogind.
libinput is installed but xf86-input-libinput is not. xorg itself wasn't given any special config one way or the other.
from elogind.
Thanks, I may try again after removing xf86-input-libinput,I thought the trouble was input drivers from the logs.
from elogind.
How do you approach the missing /run/systemd on gentoo?
I think its best to try run a /bin/sh check for the run_dir and if necessarey create it before elogind call in the Exec line of the dbus service?
Exec = /bin/bash -c "[[ ! -d /run/systemd ]] && mkdir /run/systemd";libpath/to/elogind
Another way would be openrc service, but I find it ugly.
from elogind.
This one works for me.
Exec=/bin/bash -c "[[ ! -d /run/systemd ]] && mkdir /run/systemd;/usr/lib/elogind/elogind"
Should work on gentoo with:
Exec=/bin/bash -c "[[ ! -d /run/systemd ]] && mkdir /run/systemd;/usr/libexec/elogind/elogind"
from elogind.
How do you approach the missing /run/systemd on gentoo?
It's still in an experimental state (for us) so I didn't implement any fix tor that (just been creating it manually during testing).
Did you have any luck with loginctl lock-session or unlock-session working?
from elogind.
I haven't tested the unlock thingy yet.
Since we are binary, I was about to decide if ck or elogind, so this will be next to test.
I have included your pull patch already.
from elogind.
I have tested locking/unlocking screen in plasma5 with 219.12+dbus-conf-pk.patch.
Seems to work fine, test was on real hardware.
My configuration:
/etc/pam.d/system-login
-session optional pam_elogind.so
/etc/pam.d/sddm-greeter
session optional pam_elogind.so
I have also patched the login1 dbus service Exec line to create /run/systemd before it starts if necessary.
from elogind.
The new release v226.4 at elogind/elogind creates the /run/systemd directory if it is not present, so this issue is fixed there.
from elogind.
Related Issues (8)
- No docs dir HOT 1
- loginctl cannot lock own session HOT 10
- VT's in elogind HOT 7
- elogind gets into a suspend loop HOT 11
- 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.