1 |
Hi all, |
2 |
Here is an updated news item for the display-manager-init changes. |
3 |
Please comment and check. |
4 |
|
5 |
Thanks, |
6 |
Aisha |
7 |
|
8 |
|
9 |
Title: New OpenRC Display Manager Initializer Scripts |
10 |
Author: Aisha Tammy <gentoo@×××××.cc> |
11 |
Author: Andreas Sturmlechner <asturm@g.o> |
12 |
Posted: 2021-01-30 |
13 |
Revision: 5 |
14 |
News-Item-Format: 2.0 |
15 |
Display-If-Installed: sys-apps/openrc |
16 |
|
17 |
There has been a refactoring of the old 'xdm' init script into a new |
18 |
script called 'display-manager', provided by a new package that will |
19 |
be introduced by your @world update routine as a dependency of |
20 |
x11-base/xorg-server-1.20.10-r1: |
21 |
|
22 |
gui-libs/display-manager-init |
23 |
|
24 |
The package is now in ~arch and will be available to stable users |
25 |
starting with 2nd March 2021. [1] |
26 |
|
27 |
Its purpose is to provide the same startup mechanism for your chosen |
28 |
display manager (like GDM, SDDM etc. [2]) as xdm did previously, but |
29 |
without depending on x11-base/xorg-server. This is necessary to |
30 |
support new DMs that no longer depend on Xorg. |
31 |
|
32 |
Existing settings from /etc/conf.d/xdm will be migrated to new |
33 |
/etc/conf.d/display-manager config, however after installation it is |
34 |
vital not to forget to run either `etc-update` or `dispatch-conf`. |
35 |
Afterwards check that /etc/conf.d/display-manager contains the |
36 |
desired value for DISPLAYMANAGER. |
37 |
|
38 |
The old 'xdm' init script is no longer supported and henceforth |
39 |
removed from x11-base/xorg-server-1.20.10-r1, so it is imperative that |
40 |
you switch from xdm to display-manager service in default runlevel: |
41 |
|
42 |
# rc-update del xdm default |
43 |
# rc-update add display-manager default |
44 |
|
45 |
The changes are complete and on the next reboot, 'display-manager' |
46 |
will start your chosen DM. |
47 |
|
48 |
To switch to the new script without rebooting, run the following |
49 |
commands in a tty: |
50 |
|
51 |
# rc-service xdm stop |
52 |
# rc-service display-manager start |
53 |
|
54 |
Finally, the following action is necessary *ONLY* if you are running |
55 |
a) a DM (and rest of system) without Xorg |
56 |
b) a DM from an overlay, to make sure display-manager persists |
57 |
|
58 |
# emerge --noreplace gui-libs/display-manager-init |
59 |
|
60 |
|
61 |
[1] To make this change *now*, and proceed with this news item already, |
62 |
stable users would need to add the following entries to |
63 |
/etc/portage/package.accept_keywords [3] and update @world: |
64 |
|
65 |
~sys-apps/sysvinit-2.98 |
66 |
~x11-apps/xinit-1.4.1 |
67 |
~x11-base/xorg-server-1.20.10 |
68 |
~gui-libs/display-manager-init-1.0 |
69 |
|
70 |
[2] https://wiki.gentoo.org/wiki/Display_manager |
71 |
[3] https://wiki.gentoo.org/wiki//etc/portage/package.accept_keywords |