Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216 - kdm fails to start emerged window managers due to missing/wrong /usr/X11R6/bin/wm/ scripts
Summary: kdm fails to start emerged window managers due to missing/wrong /usr/X11R6/bi...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Dan Armak (RETIRED)
Depends on:
Reported: 2002-01-17 18:52 UTC by Daniel Mettler
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Mettler 2002-01-17 18:52:05 UTC
Symptom/description: kdm starts fine but fails to start (emerged) window 

Reason: Scripts in /usr/X11R6/bin/wm/ which are necessary to start the emerged 
window managers are missing or wrong. The following files are present in 


bash-2.05a# cat kde-2.2.2

kdmrc is empty

bash-2.05a# cat xsession

The kde-2.2.2 script is wrong as it tries to execute 'startkde' of kde 3 
instead of kde 2 (Note: I have not emerged kde 3 yet). Scripts to start other 
wms (although I did emerge them) are missing completely.

Concerned ebuild script: kde-base/kdebase-2.2.2-r1.ebuild

Solution (quickfix): add the scripts manually to /usr/X11R6/bin/wm/, e.g.

bash-2.05a# cat kde

bash-2.05a# cat blackbox

Make sure the scripts are executable.

Append entries for these window manager start scripts to 
/usr/kde/2/share/config/kdm/kdmrc, e.g.
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-01-17 23:12:50 UTC
1. The bin/wm/<script> scheme is deprecated. the problem is there's nothing to replace it so far. 
Hallski and Azarah (of Gentoo-Gnome fame) were working on a new scheme, but nothing's 
ready yet. But for now kdm and gmd use different schemes and wm list generation (i.e. based 
on what is emerged) is non-automatic.
2. I've fixed this problem recently. Please emerge rsync and remerge kdebase, and tell me if the 
problem goes away (i.e. empty kdmrc, no bin/wm/kde-2.2.2 script).
Comment 2 Mikael Hallendal (hallski) (RETIRED) gentoo-dev 2002-01-19 03:22:51 UTC
well, this scheme (as installed from X or gnome or wherever it was) was removed
about 6 months ago. From what I understand it was still used in the KDE
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-01-19 03:31:13 UTC
Yes, the kdebase ebuild installs a bin/wm/kde-2.2.2 script that just runs the correct startkde. it 
also installs a bin/wm/xsession script that runs ~/.xsession. 
x11-base/xfree currently installs an Xsession ($FILESDIR/$PV/Xsession) that supports bin/wm 
Comment 4 Chad Huneycutt (RETIRED) gentoo-dev 2002-01-19 13:30:18 UTC
From a fresh install, I have no problems with kdm.  Just select "kde-2.2.2" and
log in.  I am not sure why this is still open.
Comment 5 Dan Armak (RETIRED) gentoo-dev 2002-01-19 13:38:53 UTC
Well, I was waiting for confirmation from Daniel Mettler (who first opened this). But since I do know I fixed this, you're probably right - I'll close this as FIXED. After all at worst it can always be reopened later.