1 |
commit: c6ba82191f38ab46241df4b979f242ca31f9c8c4 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 5 19:39:15 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 5 19:39:15 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=c6ba8219 |
7 |
|
8 |
2021-01-30-display-manager-init: Rework instructions, revision bump |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
.../2021-01-30-display-manager-init.en.txt | 70 ++++++++++++++-------- |
13 |
1 file changed, 44 insertions(+), 26 deletions(-) |
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 |
index 4b5b64d..30bbfd8 100644 |
17 |
--- a/2021-01-30-display-manager-init/2021-01-30-display-manager-init.en.txt |
18 |
+++ b/2021-01-30-display-manager-init/2021-01-30-display-manager-init.en.txt |
19 |
@@ -1,45 +1,63 @@ |
20 |
Title: New OpenRC Display Manager Initializer Scripts |
21 |
Author: Aisha Tammy <gentoo@×××××.cc> |
22 |
+Author: Andreas Sturmlechner <asturm@g.o> |
23 |
Posted: 2021-01-30 |
24 |
-Revision: 5 |
25 |
+Revision: 6 |
26 |
News-Item-Format: 2.0 |
27 |
Display-If-Installed: sys-apps/openrc |
28 |
|
29 |
-There has been a refactoring of the old 'xdm' init script and its |
30 |
-requirements from various packages into an independent package: |
31 |
+There has been a refactoring of the old 'xdm' init script into a new |
32 |
+script called 'display-manager', provided by a new package that will |
33 |
+be introduced by your @world update routine as a dependency of |
34 |
+x11-base/xorg-server-1.20.10-r1: |
35 |
|
36 |
gui-libs/display-manager-init |
37 |
|
38 |
-This package provides the 'display-manager' startup script for |
39 |
-handling your chosen display manager, without depending on |
40 |
-Xorg server. The old 'xdm' init script is no longer supported |
41 |
-and is going to be removed in the next version of xorg-server, |
42 |
-so it is imperative that you shift to display-manager-init. |
43 |
-The current package is ~ARCH and will be available for stable |
44 |
-users on 2nd March 2021. |
45 |
+The package is now in ~arch and will be available to stable users |
46 |
+starting with 2nd March 2021. [1] |
47 |
|
48 |
-To update to the new DM init scripts, you need to manually add the |
49 |
-package into your @world set: |
50 |
+Its purpose is to provide the same startup mechanism for your chosen |
51 |
+display manager (like GDM, SDDM etc. [2]) as xdm did previously, but |
52 |
+without depending on x11-base/xorg-server. This is necessary to |
53 |
+support new DMs that no longer depend on Xorg. |
54 |
|
55 |
- emerge -vuDU gui-libs/display-manager-init |
56 |
+Existing settings from /etc/conf.d/xdm will be migrated to new |
57 |
+/etc/conf.d/display-manager config, however after installation it is |
58 |
+vital not to forget to run either `etc-update` or `dispatch-conf`. |
59 |
+Afterwards check that /etc/conf.d/display-manager contains the |
60 |
+desired value for DISPLAYMANAGER. |
61 |
|
62 |
-To start using the new init scripts, either copy your |
63 |
-existing /etc/conf.d/xdm to /etc/conf.d/display-manager or |
64 |
-change the DISPLAYMANAGER variable in |
65 |
-/etc/conf.d/display-manager to your preferred DM: |
66 |
+The old 'xdm' init script is no longer supported and henceforth |
67 |
+removed from x11-base/xorg-server-1.20.10-r1, so it is imperative that |
68 |
+you switch from xdm to display-manager service in default runlevel: |
69 |
|
70 |
- DISPLAYMANAGER="gdm" |
71 |
- |
72 |
-and remove 'xdm' from the default runlevel and add 'display-manager': |
73 |
- |
74 |
- rc-update del xdm default |
75 |
- rc-update add display-manager default |
76 |
+ # rc-update del xdm default |
77 |
+ # rc-update add display-manager default |
78 |
|
79 |
The changes are complete and on the next reboot, 'display-manager' |
80 |
will start your chosen DM. |
81 |
|
82 |
-To switch to the new scripts without rebooting, run the following |
83 |
+To switch to the new script without rebooting, run the following |
84 |
commands in a tty: |
85 |
|
86 |
- rc-service xdm stop |
87 |
- rc-service display-manager start |
88 |
+ # rc-service xdm stop |
89 |
+ # rc-service display-manager start |
90 |
+ |
91 |
+Finally, the following action is necessary *ONLY* if you are running |
92 |
+ a) a DM (and rest of system) without Xorg |
93 |
+ b) a DM from an overlay, to make sure display-manager persists |
94 |
+ |
95 |
+ # emerge --noreplace gui-libs/display-manager-init |
96 |
+ |
97 |
+ |
98 |
+[1] To make this change *now*, and proceed with this news item already, |
99 |
+stable users would need to add the following entries to |
100 |
+/etc/portage/package.accept_keywords [3] and update @world: |
101 |
+ |
102 |
+ ~sys-apps/sysvinit-2.98 |
103 |
+ ~x11-apps/xinit-1.4.1 |
104 |
+ ~x11-base/xorg-server-1.20.10 |
105 |
+ ~gui-libs/display-manager-init-1.0 |
106 |
+ |
107 |
+[2] https://wiki.gentoo.org/wiki/Display_manager |
108 |
+[3] https://wiki.gentoo.org/wiki//etc/portage/package.accept_keywords |