Gentoo Archives: gentoo-dev

From: Aisha Tammy <gentoo.dev@×××××.cc>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [RFC] Refactor display manager openrc init scripts to independent package
Date: Sat, 10 Oct 2020 10:57:36
Message-Id: 07c7f85d-fe36-5885-6815-e9645d79725c@aisha.cc
1 Hi all,
2   This change is for OpenRC init scripts only.
3   Currently the way our display managers are started, is by using the
4 xdm init script present in the xorg-base/xorg-server package, with its script
5 dependencies spread across four other packages, without any logical separation.
6 This makes it so that every display manager needs the whole xorg-server
7 package even if just for the init scripts.
8 There are bugs open about this for a while to refactor the scripts out from
9 xorg-server and into their own independent package, to make them easier
10 to manage and modify
11 - https://bugs.gentoo.org/730644
12 - https://bugs.gentoo.org/356915
13 The change is not just for the sake of closing bugs either.
14 Given the recent number of huge additions in wayland, it is now possible
15 to have a Xorg-free setup starting from the display manager.
16 There are wayland-only display-managers available in gentoo
17 - gui-apps/gtkgreet
18 - gui-apps/tuigreet
19
20 It should now be possible to start these display managers using openrc
21 without pulling in Xorg.
22
23 The changes are currently being worked on in the PR at
24 https://github.com/gentoo/gentoo/pull/16554
25
26 Changes
27  - xdm init.d is replaced by display-manager init.d script
28  - Configuration of display-manager is done similar to xdm by modifying
29     /etc/conf.d/display-manager
30  - Add display-manager to default runlevel and it should start working
31
32 Other changes, less relevant to everyday users
33  - boot parameter nox has been replaced by nogui
34  - usage of /etc/.nox has been removed in favor of /run/.nogui as the boot
35     parameter is a better controller
36
37 Cheers,
38 Aisha

Replies