Feature changed by: Takashi Iwai (tiwai) Feature #319432, revision 2 Title: Improve the default DM selection beahvior of xdm Requested by: Takashi Iwai (tiwai) Partner organization: openSUSE.org Description: Currently we set a fixed DM via /etc/sysconfig/displaymanager at installation time. With minimal X instalation pattern, xdm package is used, and this is set to "xdm". When user installs more DEs (e.g. Enlightment) on its top, xdm is still used even after a richer DM like lightdm is present on the system. And changing this needs the manual edition of /etc/sysconfig/displaymanager, which is hard for many users. This request tries to address this. One feasible way to fix this is to change the default DM selection behavior. In this change, we'll set the empty string to /etc/sysconfig/displaymanager $DISPLAYMANAGER variable as default in xdm package. Also, change the parser in /usr/lib/X11/display-manager script so that: 1. If $DISPLAYMANAGER is set, use it. 2. If $DISPLAYMANAGER is empty or it points to non- existing entry, fallback in either of the following: 2a. If there is other DM than xdm, use it. 2b. If there is only xdm, use xdm. Supposedly, YaST sets $DISPLAYMANAGER to an appropriate value when KDE, GNOME or other patterns are used. So for these installations, the change above should be harmless. The change takes effect only for stacked installation based on minimal X pattern or such. + Discussion: + #1: Takashi Iwai (tiwai) (2015-09-07 15:14:40) + I checked xdm package, and found that $DISPLAYMANAGER is empty in the + package level. It means that YaST writes it even for minimal X? Then we + need to change YaST, too, at least for patterns that set it to xdm. -- openSUSE Feature: https://features.opensuse.org/319432