From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020809 Description of problem: Request #1 =================== Please add DISPLAYMANAGER to the default /etc/sysconfig/desktop. I know this is trivial for someone to add manually in order to choose kdm rather than gdm, but this minor detail makes it easier for those who expected the old DESKTOP="KDE" behavior. They would open /etc/sysconfig/desktop, find the new option and change that. No more complaints. Perhaps make the default file contain: DESKTOP="GNOME" DISPLAYMANAGER="GNOME" Request #2 ==================== Perhaps add #comments within /etc/sysconfig/desktop explaining what the two options do. Less confusion. Request #3 - Long Term RFE ==================== It would be nice to have a GUI toggle for DESKTOP and DISPLAYMANAGER somewhere in a redhat-config-* tool. Please consider this long term goal after this release gets out the door. Reasonable?
These are currently commented in /usr/share/doc/initscripts-<version>/sysconfig.txt. (And the documentation changed in 6.92-1.)
Documentation is present with initscripts-6.92-1.
Please can this be considered for adding to the default /etc/sysconfig/desktop when it is created by Anaconda? I know this is only a minor detail, but this will keep people from complaining when they discover that DESKTOP="KDE" no longer changes the login manager to kdm. Please re-close if you disagree. Sorry about the nitpicking.
I ran into this trap as well with (null), and I think it is a bug that the installer writes DESKTOP=GNOME, when it should be DISPLAYMANAGER=GNOME. My desktop is KDE.
Shouldn't /etc/sysconfig/desktop have both DISPLAYMANAGER and DESKTOP? Both are configurable and read by prefdm.
No, only $DISPLAYMANAGER is evaluated in /etc/X11/prefdm with current beta. Even on Valhalla, $DESKTOP is sort of deprecated. Look: source /etc/sysconfig/desktop >/dev/null 2>&1 [ -n "$DISPLAYMANAGER" ] && DESKTOP=$DISPLAYMANAGER
If the initscripts sysconfig.txt can be believed, $DESKTOP is used and probably is evaluated somewhere else. Nevertheless, DESKTOP=GNOME is certainly a bug when I chose KDE and even when GNOME is pulled in due to dependencies. Then, when both KDE and GNOME get installed, Red Hat may decide to use gdm and set DISPLAYMANAGER=GNOME, but DESKTOP=GNOME is wrong.
While I think I agree with your remarks, mschwendt, something to keep in mind: setting DESKTOP=KDE DISPLAYMANAGER=GNOME (or vice-versa) in /etc/sysconfig/desktop is going to break badly, since a lot of the xinit stuff still brokenly assumes that /etc/sysconfig/desktop only contains one entry. Look at /etc/X11/xinit/Xclients and /etc/X11/xinit/xinitrc.d/xinput. They both just do blind if [ -n "`grep GNOME /etc/sysconfig/desktop`" ]; then start gnome elif [ -n "`grep KDE /etc/sysconfig/desktop`" ]; then start kde sorts of things, making it impossible to select a different default display manager than default desktop....
kaboom: the totally broken code in Xclients has been fixed. It was broken *before* the changes to prefdm, actually. :)
Time tracking values updated
*** Bug 125255 has been marked as a duplicate of this bug. ***