Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] data/gentoo-news:master commit in: 2021-01-30-display-manager-init/
Date: Sat, 30 Jan 2021 19:20:59
Message-Id: 1612034437.a1f5db6da6357eb7e320d942040a7daa1aae9eca.slashbeast@gentoo
1 commit: a1f5db6da6357eb7e320d942040a7daa1aae9eca
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 30 19:20:37 2021 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 30 19:20:37 2021 +0000
6 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=a1f5db6d
7
8 2021-01-30-display-manager-init: added
9
10 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
11
12 .../2021-01-30-display-manager-init.en.txt | 43 ++++++++++++++++++++++
13 1 file changed, 43 insertions(+)
14
15 diff --git a/2021-01-30-display-manager-init/2021-01-30-display-manager-init.en.txt b/2021-01-30-display-manager-init/2021-01-30-display-manager-init.en.txt
16 new file mode 100644
17 index 0000000..88fd5f5
18 --- /dev/null
19 +++ b/2021-01-30-display-manager-init/2021-01-30-display-manager-init.en.txt
20 @@ -0,0 +1,43 @@
21 +Title: New OpenRC Display Manager Initializer Scripts
22 +Author: Aisha Tammy <gentoo@×××××.cc>
23 +Posted: 2021-01-30
24 +Revision: 4
25 +News-Item-Format: 2.0
26 +Display-If-Installed: sys-apps/openrc
27 +
28 +There has been a refactoring of the old 'xdm' init script and its
29 +requirements from various packages into an independent package:
30 +
31 + gui-libs/display-manager-init
32 +
33 +This package provides the 'display-manager' startup script for
34 +handling your chosen display manager, without depending on
35 +Xorg server. The old 'xdm' init script is no longer supported
36 +and is going to be removed in the next version of xorg-server,
37 +so it is imperative that you shift to display-manager-init.
38 +
39 +To update to the new DM init scripts, you need to manually add the
40 +package in your @world set:
41 +
42 + emerge -vuDU gui-libs/display-manager-init
43 +
44 +To start using the new init scripts, either copy your
45 +existing /etc/conf.d/xdm to /etc/conf.d/displaymanager or
46 +change the DISPLAYMANAGER variable in
47 +/etc/conf.d/display-manager to your preferred DM:
48 +
49 + DISPLAYMANAGER="gdm"
50 +
51 +and remove 'xdm' from the default runlevel and add 'display-manager':
52 +
53 + rc-update del xdm default
54 + rc-update add display-manager default
55 +
56 +The changes are complete and on the next reboot, 'display-manager'
57 +will start your chosen DM.
58 +
59 +To switch to the new scripts without rebooting, run the following
60 +commands in a tty:
61 +
62 + rc-service xdm stop
63 + rc-service display-manager start