Description of problem: I've had some users complaining that they don't get X after doing an install with base-x and lxde-desktop. This is because the lxde-desktop group only includes SLiM but but xdm, gdm or kdm. Version-Release number of selected component (if applicable): initscripts-8.86-1.i386 How reproducible: always Steps to Reproduce: 1. install Fedora 10 with base-x and lxde-desktop groups 2. reboot Actual results: No X, no firstboot Expected results: X should start up with firstboot Additional info: --- /etc/X11/prefdm.orig 2008-11-11 17:59:18.000000000 +0100 +++ /etc/X11/prefdm 2009-02-16 18:36:19.000000000 +0100 @@ -36,6 +36,7 @@ # Fallbacks, in order exec gdm "$@" >/dev/null 2>&1 </dev/null exec kdm "$@" >/dev/null 2>&1 </dev/null +exec slim-dynwm "$@" >/dev/null 2>&1 </dev/null exec wdm "$@" >/dev/null 2>&1 </dev/null exec xdm "$@" >/dev/null 2>&1 </dev/null # catch all exit error
Meh. This cries out for something that can be modifed more sanely. Let me see if there's a better way out of this.
(In reply to comment #1) > Meh. This cries out for something that can be modifed more sanely. Why that? If this is not sane, the others aren't sane ether. I guess the best would be the Xclients.d solution from bug #142260, but I have no idea how this is supposed to work.
Well, the simple answer for LXDE is to write a /etc/sysconfig/desktop with DISPLAYMANAGER set somewhere. But I don't want to keep having to modify this file for every desktop that may possibly exist.
I know about /etc/sysconfig/desktop, I'm happily using it in http://cwickert.fedorapeople.org/lxde/fedora-livecd-lxde.ks But how am I supposed to write/modify this file on a normal install (when not installing from the LXDE livecd)?
Doesn't gdm needed to be added to lxde-desktop group in comps.xml. xfce-desktop & gnome-desktop both have it. kde-desktop will install kdm.
No, I'm not going add gdm to the lxde-group, because it will pull in gnome-session, gnome-control-center and many more. That's why I added slim and want prefdm to support it.
Why does gdm depend on gnome-session?
Because the new GDM that was introduced in Fedora 8 runs in a Gnome session.
Created attachment 334152 [details] Proposed Patch to configure slim via DISPLAYMANAGER on /etc/X11/prefdm I wnat to propose, that it should be possible to use slim via setting DSPLAYMANAGER=SLIM in the /etc/X11/prefdm file.
You can already make SLiM defdault in /etc/sysconfig/desktop, but does it really mela a difference if the file reads DISPLAYMANAGER=SLIM or DISPLAYMANAGER=/usr/bin/slim-dynwm This still is no fallback and the file still needs to be configured manually. I'm looking for something that is working out of the box after a "yum groupinstall LXDE".
Well, that can't work now because you don't get SLIM with 'yum groupinstall lxde', at least not without extra flags or package selection. Aside from that, fixed in http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=7fed044885fb2eeb92fe59cec649318caff7e382.
initscripts-8.86.1-1 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/initscripts-8.86.1-1
initscripts-8.86.2-1 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/initscripts-8.86.2-1
initscripts-8.86.3-1 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.