Bug 450220

Summary: System intalled with XFCE have xdm and gdm, but xdm used
Product: [openSUSE] openSUSE 11.1 Reporter: Forgotten User JoZGrGEMhM <forgotten_JoZGrGEMhM>
Component: YaST2Assignee: Stephan Kulow <coolo>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None CC: jdsn, locilka, ma
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User JoZGrGEMhM 2008-11-29 10:44:55 UTC
I've installed openSUSE 11.1 with XFCE and found the ugly xdm login screen. 
I found that gdm already installed with XFCe pattern, but not selected in /etc/sysconfig/displaymanager:DISPLAYMANAGER

IMHO gdm should be used.
Comment 2 J. Daniel Schmidt 2008-12-08 17:50:07 UTC
YaST2-installation is setting up the displaymanager.

However, yast2-x11 is still calling
 /sbin/SuSEconfig --module (gdm|kdm3|xdm)

Even on 11.0 these modules are no longer known :)
I will remove these calls after 11.1 is released.
Comment 3 Lukas Ocilka 2008-12-10 09:59:32 UTC
The default logon managers are defined in control file:
http://svn.opensuse.org/svn/yast/trunk/installation/control/control.openSUSE.xml

            <one_supported_desktop>
                <name>xfce</name>
                <desktop>startxfce4</desktop>
                <label_id>desktop_xfce</label_id>
                <logon>xdm</logon>
                <cursor>DMZ</cursor>
                <packages>xfce4-desktop</packages>
                <order config:type="integer">4</order>
                <patterns>xfce x11 base</patterns>
                <icon>pattern-xfce</icon>
            </one_supported_desktop>

There are two possibilities how to solve it:

1.) The easy one: replace <logon>xdm</logon> with <logon>gdm</logon>
    (coolo?)

2.) The better one: extend the definition to define the order
    of logon-managers:
    <logon>gdm,xdm,...</login> (or similar)
    but that would also need to check which for installed logon
    managers and select the "best one" (11.2)
Comment 4 Stephan Kulow 2009-01-19 12:33:10 UTC
the xfce patterns require gdm now and so I changed the control.xml