On 10/17/20 6:44 PM, Alexey Sokolov wrote:
> сб, 17 окт. 2020 г. в 23:05, Aisha Tammy <[email protected]>:
>>
>> Hi,
>>   I'm attaching the news item for the upcoming display-manager-init changes
>>
>> Thanks,
>> Aisha
>>
>> -----------
>>
>> Title: New OpenRC Display Manager Initializer Scripts
>> Author: Aisha Tammy <[email protected]>
>> Posted: 2020-10-17
>> Revision: 1
>> News-Item-Format: 2.0
> 
> This will be shown even if no xdm was installed?

Yes, that is true, but there is no xdm package per se (not referring to the 
display manager XDM, but the init script xdm).
This is one of the reasons for the refactoring, because there is no single
provider for xdm, parts of the scripts are present in sysvinit, xinit, 
xorg-server.
And the overloading of terms for xdm init script and XDM display manager
.
This puts them together into one package, while renaming and clearing the 
confusion.

A potential check could be for xorg-server, which should be OK, but I 
don't see the harm in being a bit more cautious and letting everyone read 
it.
   
   Display-If-Present: x11-base/xorg-server

> 
>>
>> 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 being dependent on
>> Xorg server.
>>
>> 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, change the DISPLAYMANAGER
>> variable in the /etc/conf.d/display-manager to your preferred DM:
>>
>> DISPLAYMANAGER="gdm"
>>
>> To test the newly installed scripts, you can try to switch to
>> 'display-manager' on the running computer.
>> Run the following commands in a tty to test your current install:
>>
>> rc-service xdm stop
>> rc-service display-manager start
>>
>> If the test succeeds, you can remove the old xdm startup script
>> and add display-manager to the default runlevel:
>>
>> rc-update del xdm default
>> rc-update add display-manager default
>>
>> Reboot your computer to perform a final test and check to see
>> that your chosen display manager has started.
> 
> What happens if I ignore this news item and do nothing?
> 

If you ignore this news item and upgrade your packages without installing
display-manager-init, you will no longer have an 'xdm' init script and you will
not get a gui on boot.

(Don't ignore news items people :P)

Aisha

Reply via email to