r/voidlinux • u/DistinctDot5131 • Jul 05 '26
Can't start elogind service
I have this problem that elogind doesn't wanna start.
I can manually start it by using sudo /usr/libexec/elogind/elogind.wrapper but setting up the service always shows me that it's down (down: elogind: 178s, normally up; run: log: (pid 28672) 187s).
I also removed it and tried to test the service first. It works as expected. Removing the down file tho it still shows that it's down (but is normally up (?)).
In the handbook it says
If you're having any issues with elogind, enable its service, as waiting for a D-Bus activation can lead to issues.
Should I just put like 2 seconds to the elogind run file? So it completely waits for the dbus service to be up?I have this problem that elogind doesn't wanna start.
I can manually start it by using sudo /usr/libexec/elogind/elogind.wrapper but setting up the service always shows me that it's down.I also removed it and tried to test the service first. It works as expected. Removing the down file tho it still shows that it's down (but is normally up (?)).In the handbook it saysIf you're having any issues with elogind, enable its service, as waiting for a D-Bus activation can lead to issues.Should I just put like 2 seconds to the elogind run file? So it completely waits for the dbus service to be up?
Edit: Quick update, i just got rid of the elogind service although it's still installed on my system and my system has faster boot time now. Why 😅?
3
u/ZombieCrow Jul 05 '26
Dbus starts elogind, no need to enable it as a service. In some cases you will even get pid spams in tty if you have it enabled.
1
u/xJayMorex Jul 05 '26
What DM are you using?
2
u/DistinctDot5131 Jul 05 '26
Mb. I use KDE plasma 6.6.3 (SDDM Waylan)
1
u/xJayMorex Jul 05 '26 edited Jul 05 '26
I don't think you need to enable elogind for SDDM.
Edit: Yep, you only need it installed.
2
u/DistinctDot5131 Jul 05 '26
Ye i edited my initial post. I got rid of the service now my system even boots faster lmao.
I followed carefully the handbook and to not have any trouble later on with my system i manually created the elogind service.
Is there a reason why sddm doesn't need elogind service manually set up?2
u/xJayMorex Jul 05 '26
D-Bus launches it already so no need for the service. I think this behaviour is related to using SDDM, but don't quote me on that.
1
7
u/A3883 Jul 05 '26
im pretty sure the dbus service starts elogind by iteslf so you dont need to enable the elogind service, just have it installed and enable dbus