elogind

From Gentoo Wiki
Jump to: navigation, search

elogind is the systemd project's logind, extracted to a standalone package. It's designed for users who prefer a non-systemd init system, but still want to use popular software such as KDE/Wayland or GNOME that otherwise hard-depends on systemd.

Installation

Kernel

The following kernel options are recommended:

KERNEL
General setup  --->
    [*] Control Group support  --->
    [*] Configure standard kernel features (expert users)  --->
        [*]   Enable eventpoll support
        [*]   Enable signalfd() system call
        [*]   Enable timerfd() system call
File systems  --->
    [*] Inotify support for userspace
Security options  --->
    [*] Enable different security models
    [*] Simplified Mandatory Access Control Kernel Support

USE flags

Cannot load package information. Is the atom sys-auth/elogind correct?

There is a global elogind USE flag for enabling elogind support in other packages. It's also recommended to disable support for other session trackers to avoid conflicts:

FILE /etc/portage/make.conf
USE="elogind -consolekit -systemd"

Emerge

After updating your USE flags update the system so the changes take effect:

root #emerge --ask --changed-use --deep @world

Configuration

Service

elogind may be optionally configured to start at boot time:

root #rc-update add elogind boot

Alternatively, elogind will be launched automatically when the first service calls it via dbus, or if built with USE="pam", when the first user logs into the system.

See also