public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] gui-libs/display-manager-init: second review for new news item
@ 2021-02-03 20:15 Aisha Tammy
  0 siblings, 0 replies; only message in thread
From: Aisha Tammy @ 2021-02-03 20:15 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 2441 bytes --]

Hi all,
   Here is an updated news item for the display-manager-init changes.
Please comment and check.

Thanks,
Aisha


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
News-Item-Format: 2.0
Display-If-Installed: sys-apps/openrc

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

The package is now in ~arch and will be available to stable users
starting with 2nd March 2021. [1]

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.

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.

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:

	# 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 script without rebooting, run the following
commands in a tty:

	# 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


[-- Attachment #2: Type: text/html, Size: 3043 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-03 20:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-03 20:15 [gentoo-dev] gui-libs/display-manager-init: second review for new news item Aisha Tammy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox