After installing kde-base/kdm-4.3.2 (along side kde 3.5.10 & kdm-3.5.10), errors are received during init boot. Then the system only offers a console login (it previously loaded kdm 3.5 automatically). When I installed kdm-4.3.2, I ran 'etc-update' and replaced: /etc/conf.d/xdm /etc/init.d/xdm Reproducible: Always Steps to Reproduce: 1. emerge =kde-base/kdm-4.3.2 2. etc-update 3. press <ENTER> 4. press 1 (replace) 5. press <ENTER> 6. press 1 (replace) 7. reboot system Actual Results: ERROR: Please set your DISPLAYMANAGER variable in /etc/conf.d/xdm or install x11-apps/xdm package start-stop-daemon: stat /usr/bin/xdm: No such file or directory (No such file or directory) ERROR: could not start Display Manager Expected Results: Should start KDM and offer both KDE 3.5 and KDE 4 options.
Created attachment 207045 [details] /etc/conf.d/xdm
Created attachment 207047 [details] /etc/init.d/xdm
Created attachment 207049 [details] /etc/init.d/xdm-setup
Created attachment 207051 [details] /etc/rc.conf
Created attachment 207052 [details] emerge --info
Created attachment 207053 [details] ls -alh /etc/X11/Sessions
I should mention that 'startx' starts kde 4.3. And ~/.xinitrc has 'exec startkde' in it.
I actualy hope one day people will start reading things... If you take look on what you did: you rewrote your /etc/conf.d/xdm file which leads us to the current content which is: <snip> # What display manager do you use ? [ xdm | gdm | kdm | kdm-3.5 | kdm-4.3 | gpe | entrance ] # NOTE: If this is set in /etc/rc.conf, that setting will override this one. # KDE-specific note: kdm-3.5 and kdm-4.0 are just examples. You will find all # possible versions by looking at the directories in /usr/kde/. DISPLAYMANAGER="xdm" </snip> Do you see yourself what you need to fix? :] DISPLAYMANAGER variable should be set on kdm...
Okay, thanks, it works with DISPLAYMANAGER="kdm" *but* it doesn't work with "kdm-<version>", which it should, especially in my case; where I have both 3.5 and 4 slots installed. And shouldn't, at least the post install message for KDM mention something about changing this? Again, I *replaced* the config files w/ 'etc-update'; kdm-4.3.2 should have worked right out of the box in that situation -- correct? It would be nice to have an 'eselect' option for choosing DM's and even which version of KDE to default to. Thanks again for you help. P.S. Your insult about "reading things" was pretty low, as I tried several options (including "kdm-4.3"), in several files before asking. I also read all the relevant info I could find (many of the comments and docs need some revision BTW).
Your kde3 is in /usr/kde/3.5 -> kde-3.5 works your kde4 is not under /usr/kde/4.3 -> kde-4.3 does not work your kde4 is under /usr/ -> plain kdm works, or even "kde" works.
This is the future config file we are preparing to deploy right now: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=blob;f=x11-apps/xinit/files/xdm.confd-2 Hope it explains stuff more clearly.
Yes, it does make it more clear. While you're at it, you might as well correct the "have't" typo in the upper comment =)