Greetd: Difference between revisions
(add greetd page) |
(suggest D-Bus session) |
||
Line 23: | Line 23: | ||
For text based greeters you want to make sure that <code>vt</code> is set to <code>7</code> in {{path|/etc/greetd/config.toml}}. (This will be the default in alpine 3.20) | For text based greeters you want to make sure that <code>vt</code> is set to <code>7</code> in {{path|/etc/greetd/config.toml}}. (This will be the default in alpine 3.20) | ||
D-Bus#D-Bus_session | You might want to start a [[D-Bus#D-Bus_session|D-Bus session]] when the greetd session is started. | ||
== See Also == | == See Also == | ||
* [https://man.sr.ht/~kennylevinsen/greetd/ greetd wiki] | * [https://man.sr.ht/~kennylevinsen/greetd/ greetd wiki] | ||
* [https://wiki.archlinux.org/title/Greetd Arch wiki] | * [https://wiki.archlinux.org/title/Greetd Arch wiki] |
Revision as of 14:21, 29 February 2024
greetd is a minimal and flexible login manager daemon that makes no assumptions about what you want to launch.
This article focuses on alpine specific instructions. It is recommended to read the greetd wiki first.
Installation
greetd needs to be combined with a greeter. You can find a list of available greeters here: greetd-*. Install the main package and the greeter you selected:
# apk add greetd <greeter>
You need to configure greetd before
Enable and start greetd:
# rc-update add greetd
# rc-service greetd start
Configuration
Some graphical greeters (like gtkgreet) require seatd
or elogind. Add rc_need=seatd
or rc_need=elogind
to /etc/conf.d/greetd.
For text based greeters you want to make sure that vt
is set to 7
in /etc/greetd/config.toml. (This will be the default in alpine 3.20)
You might want to start a D-Bus session when the greetd session is started.