Sorry, I may have not been clear...
You want this in /etc/sysconfig/desktop
DISPLAYMANAGER=KDM
Note no preceeding dollar sign :)
To better understand, take a peak at /etc/X11/prefdm
In it, its doing this:
. /etc/sysconfig/desktop
You'll see it doing some checks like:
elif [ "$DISPLAYMANAGER" = KDE ]; then
preferred=/usr/bin/kdm
Which will be used in starting kdm :)
On Thu, 6 Dec 2012, Mike Watson wrote:
> Sorry to be so slow in responding. I've done what you suggested. I
created
> /etc/sysconfig/desktop
> and entered "$DISPLAYMANAGER=KDM". I rebooted but there was no
change. GDM is still being used.
>
> Any other suggestions?
>
> mw
>
>
> =======================> Just create the file /etc/sysconfig/desktop and
put in it:
>
> DESKTOP=KDM
>
> I believe it's DESKTOP - you can dbl check /etc/X11/prefdm
>
>
> Sent from my phoneMike Watson <mikew at crucis.net
<http://lists.centos.org/mailman/listinfo/centos>> wrote:The last reply
to this subject said to modify /etc/sysconfig/desktop to
> change GDM to KDM. This would then enable the KDE login screen instead
> of the default Gnome.
>
> However, when I checked my CentOS 6.3 system, there was no such file, no
> /etc/sysconfig/desktop. I've not been able to find any method to enable
> KDE login in 6.3. The method mentioned in the earlier reply was for
> CentOS 5, not 6.
>
> Any further suggestions?
>
> mw
>
> --
> --
>
> "Lose not thy airspeed, lest the ground rises up and smites
thee."
> -- William Kershner
> http://crucis-court.com
> http://www.crucis.net/1632search
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
Scot P. Floess RHCT (Certificate Number 605010084735240)
Chief Architect FlossWare http://sourceforge.net/projects/flossware
http://flossware.sourceforge.net
https://github.com/organizations/FlossWare