Gentoo Archives: gentoo-dev

From: Aisha Tammy <gentoo.dev@×××××.cc>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [REVIEW] News Item - 2020-10-17-display-manager-init
Date: Sat, 17 Oct 2020 22:56:14
Message-Id: 469574b6-b037-26a2-ec03-4cbe4a3f4f7a@aisha.cc
In Reply to: Re: [gentoo-dev] [REVIEW] News Item - 2020-10-17-display-manager-init by Alexey Sokolov
1 On 10/17/20 6:44 PM, Alexey Sokolov wrote:
2 > сб, 17 окт. 2020 г. в 23:05, Aisha Tammy <gentoo.dev@×××××.cc>:
3 >>
4 >> Hi,
5 >> I'm attaching the news item for the upcoming display-manager-init changes
6 >>
7 >> Thanks,
8 >> Aisha
9 >>
10 >> -----------
11 >>
12 >> Title: New OpenRC Display Manager Initializer Scripts
13 >> Author: Aisha Tammy <gentoo@×××××.cc>
14 >> Posted: 2020-10-17
15 >> Revision: 1
16 >> News-Item-Format: 2.0
17 >
18 > This will be shown even if no xdm was installed?
19
20 Yes, that is true, but there is no xdm package per se (not referring to the
21 display manager XDM, but the init script xdm).
22 This is one of the reasons for the refactoring, because there is no single
23 provider for xdm, parts of the scripts are present in sysvinit, xinit, xorg-server.
24 And the overloading of terms for xdm init script and XDM display manager
25 .
26 This puts them together into one package, while renaming and clearing the confusion.
27
28 A potential check could be for xorg-server, which should be OK, but I
29 don't see the harm in being a bit more cautious and letting everyone read
30 it.
31
32 Display-If-Present: x11-base/xorg-server
33
34 >
35 >>
36 >> There has been a refactoring of the old 'xdm' init script and its
37 >> requirements from various packages into an independent package:
38 >>
39 >> gui-libs/display-manager-init
40 >>
41 >> This package provides the 'display-manager' startup script for
42 >> handling your chosen display manager, without being dependent on
43 >> Xorg server.
44 >>
45 >> To update to the new DM init scripts, you need to manually add the
46 >> package in your @world set:
47 >>
48 >> emerge -vuDU gui-libs/display-manager-init
49 >>
50 >> To start using the new init scripts, change the DISPLAYMANAGER
51 >> variable in the /etc/conf.d/display-manager to your preferred DM:
52 >>
53 >> DISPLAYMANAGER="gdm"
54 >>
55 >> To test the newly installed scripts, you can try to switch to
56 >> 'display-manager' on the running computer.
57 >> Run the following commands in a tty to test your current install:
58 >>
59 >> rc-service xdm stop
60 >> rc-service display-manager start
61 >>
62 >> If the test succeeds, you can remove the old xdm startup script
63 >> and add display-manager to the default runlevel:
64 >>
65 >> rc-update del xdm default
66 >> rc-update add display-manager default
67 >>
68 >> Reboot your computer to perform a final test and check to see
69 >> that your chosen display manager has started.
70 >
71 > What happens if I ignore this news item and do nothing?
72 >
73
74 If you ignore this news item and upgrade your packages without installing
75 display-manager-init, you will no longer have an 'xdm' init script and you will
76 not get a gui on boot.
77
78 (Don't ignore news items people :P)
79
80 Aisha

Replies

Subject Author
Re: [gentoo-dev] [REVIEW] News Item - 2020-10-17-display-manager-init Alexey Sokolov <alexey+gentoo@××××××××.org>