* [gentoo-commits] data/gentoo-news:master commit in: 2021-01-30-display-manager-init/
@ 2021-01-30 19:20 Piotr Karbowski
0 siblings, 0 replies; 3+ messages in thread
From: Piotr Karbowski @ 2021-01-30 19:20 UTC (permalink / raw
To: gentoo-commits
commit: a1f5db6da6357eb7e320d942040a7daa1aae9eca
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 30 19:20:37 2021 +0000
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Sat Jan 30 19:20:37 2021 +0000
URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=a1f5db6d
2021-01-30-display-manager-init: added
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
.../2021-01-30-display-manager-init.en.txt | 43 ++++++++++++++++++++++
1 file changed, 43 insertions(+)
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
new file mode 100644
index 0000000..88fd5f5
--- /dev/null
+++ b/2021-01-30-display-manager-init/2021-01-30-display-manager-init.en.txt
@@ -0,0 +1,43 @@
+Title: New OpenRC Display Manager Initializer Scripts
+Author: Aisha Tammy <gentoo@aisha.cc>
+Posted: 2021-01-30
+Revision: 4
+News-Item-Format: 2.0
+Display-If-Installed: sys-apps/openrc
+
+There has been a refactoring of the old 'xdm' init script and its
+requirements from various packages into an independent package:
+
+ gui-libs/display-manager-init
+
+This package provides the 'display-manager' startup script for
+handling your chosen display manager, without depending on
+Xorg server. The old 'xdm' init script is no longer supported
+and is going to be removed in the next version of xorg-server,
+so it is imperative that you shift to display-manager-init.
+
+To update to the new DM init scripts, you need to manually add the
+package in your @world set:
+
+ emerge -vuDU gui-libs/display-manager-init
+
+To start using the new init scripts, either copy your
+existing /etc/conf.d/xdm to /etc/conf.d/displaymanager or
+change the DISPLAYMANAGER variable in
+/etc/conf.d/display-manager to your preferred DM:
+
+ DISPLAYMANAGER="gdm"
+
+and remove 'xdm' from the default runlevel and add 'display-manager':
+
+ rc-update del xdm default
+ rc-update add display-manager default
+
+The changes are complete and on the next reboot, 'display-manager'
+will start your chosen DM.
+
+To switch to the new scripts without rebooting, run the following
+commands in a tty:
+
+ rc-service xdm stop
+ rc-service display-manager start
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] data/gentoo-news:master commit in: 2021-01-30-display-manager-init/
@ 2021-01-31 22:09 Piotr Karbowski
0 siblings, 0 replies; 3+ messages in thread
From: Piotr Karbowski @ 2021-01-31 22:09 UTC (permalink / raw
To: gentoo-commits
commit: 91829f32cd39fedb48db3e61a243a1df349243ac
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 31 22:08:50 2021 +0000
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Sun Jan 31 22:08:50 2021 +0000
URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=91829f32
2021-01-30-display-manager-init.en: update, revision bump.
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
.../2021-01-30-display-manager-init.en.txt | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
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
index 88fd5f5..4b5b64d 100644
--- 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
@@ -1,7 +1,7 @@
Title: New OpenRC Display Manager Initializer Scripts
Author: Aisha Tammy <gentoo@aisha.cc>
Posted: 2021-01-30
-Revision: 4
+Revision: 5
News-Item-Format: 2.0
Display-If-Installed: sys-apps/openrc
@@ -15,14 +15,16 @@ handling your chosen display manager, without depending on
Xorg server. The old 'xdm' init script is no longer supported
and is going to be removed in the next version of xorg-server,
so it is imperative that you shift to display-manager-init.
+The current package is ~ARCH and will be available for stable
+users on 2nd March 2021.
To update to the new DM init scripts, you need to manually add the
-package in your @world set:
+package into your @world set:
emerge -vuDU gui-libs/display-manager-init
To start using the new init scripts, either copy your
-existing /etc/conf.d/xdm to /etc/conf.d/displaymanager or
+existing /etc/conf.d/xdm to /etc/conf.d/display-manager or
change the DISPLAYMANAGER variable in
/etc/conf.d/display-manager to your preferred DM:
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] data/gentoo-news:master commit in: 2021-01-30-display-manager-init/
@ 2021-02-05 19:40 Andreas Sturmlechner
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2021-02-05 19:40 UTC (permalink / raw
To: gentoo-commits
commit: c6ba82191f38ab46241df4b979f242ca31f9c8c4
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 5 19:39:15 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Feb 5 19:39:15 2021 +0000
URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=c6ba8219
2021-01-30-display-manager-init: Rework instructions, revision bump
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../2021-01-30-display-manager-init.en.txt | 70 ++++++++++++++--------
1 file changed, 44 insertions(+), 26 deletions(-)
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
index 4b5b64d..30bbfd8 100644
--- 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
@@ -1,45 +1,63 @@
Title: New OpenRC Display Manager Initializer Scripts
Author: Aisha Tammy <gentoo@aisha.cc>
+Author: Andreas Sturmlechner <asturm@gentoo.org>
Posted: 2021-01-30
-Revision: 5
+Revision: 6
News-Item-Format: 2.0
Display-If-Installed: sys-apps/openrc
-There has been a refactoring of the old 'xdm' init script and its
-requirements from various packages into an independent package:
+There has been a refactoring of the old 'xdm' init script into a new
+script called 'display-manager', provided by a new package that will
+be introduced by your @world update routine as a dependency of
+x11-base/xorg-server-1.20.10-r1:
gui-libs/display-manager-init
-This package provides the 'display-manager' startup script for
-handling your chosen display manager, without depending on
-Xorg server. The old 'xdm' init script is no longer supported
-and is going to be removed in the next version of xorg-server,
-so it is imperative that you shift to display-manager-init.
-The current package is ~ARCH and will be available for stable
-users on 2nd March 2021.
+The package is now in ~arch and will be available to stable users
+starting with 2nd March 2021. [1]
-To update to the new DM init scripts, you need to manually add the
-package into your @world set:
+Its purpose is to provide the same startup mechanism for your chosen
+display manager (like GDM, SDDM etc. [2]) as xdm did previously, but
+without depending on x11-base/xorg-server. This is necessary to
+support new DMs that no longer depend on Xorg.
- emerge -vuDU gui-libs/display-manager-init
+Existing settings from /etc/conf.d/xdm will be migrated to new
+/etc/conf.d/display-manager config, however after installation it is
+vital not to forget to run either `etc-update` or `dispatch-conf`.
+Afterwards check that /etc/conf.d/display-manager contains the
+desired value for DISPLAYMANAGER.
-To start using the new init scripts, either copy your
-existing /etc/conf.d/xdm to /etc/conf.d/display-manager or
-change the DISPLAYMANAGER variable in
-/etc/conf.d/display-manager to your preferred DM:
+The old 'xdm' init script is no longer supported and henceforth
+removed from x11-base/xorg-server-1.20.10-r1, so it is imperative that
+you switch from xdm to display-manager service in default runlevel:
- DISPLAYMANAGER="gdm"
-
-and remove 'xdm' from the default runlevel and add 'display-manager':
-
- rc-update del xdm default
- rc-update add display-manager default
+ # rc-update del xdm default
+ # rc-update add display-manager default
The changes are complete and on the next reboot, 'display-manager'
will start your chosen DM.
-To switch to the new scripts without rebooting, run the following
+To switch to the new script without rebooting, run the following
commands in a tty:
- rc-service xdm stop
- rc-service display-manager start
+ # rc-service xdm stop
+ # rc-service display-manager start
+
+Finally, the following action is necessary *ONLY* if you are running
+ a) a DM (and rest of system) without Xorg
+ b) a DM from an overlay, to make sure display-manager persists
+
+ # emerge --noreplace gui-libs/display-manager-init
+
+
+[1] To make this change *now*, and proceed with this news item already,
+stable users would need to add the following entries to
+/etc/portage/package.accept_keywords [3] and update @world:
+
+ ~sys-apps/sysvinit-2.98
+ ~x11-apps/xinit-1.4.1
+ ~x11-base/xorg-server-1.20.10
+ ~gui-libs/display-manager-init-1.0
+
+[2] https://wiki.gentoo.org/wiki/Display_manager
+[3] https://wiki.gentoo.org/wiki//etc/portage/package.accept_keywords
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-05 19:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-30 19:20 [gentoo-commits] data/gentoo-news:master commit in: 2021-01-30-display-manager-init/ Piotr Karbowski
-- strict thread matches above, loose matches on Subject: below --
2021-01-31 22:09 Piotr Karbowski
2021-02-05 19:40 Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox