Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21140 - KDE 3.1.1a Xsetup_0 call to kdmdesktop fails - file doesn't exist
Summary: KDE 3.1.1a Xsetup_0 call to kdmdesktop fails - file doesn't exist
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-16 22:13 UTC by t011-gentoo
Modified: 2003-12-03 22:40 UTC (History)
2 users (show)

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


Attachments
Patch for Xsetup_0 (Xsetup_0-kdmdesktop.patch,380 bytes, patch)
2003-11-27 16:18 UTC, Andrew Bevitt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description t011-gentoo 2003-05-16 22:13:19 UTC
I'm getting a log message to /var/log/kdm.log which states that:
"/etc/X11/xdm/Xsetup_0: line 7: /usr/kde/3.1/bin/kdmdesktop: No such file or
directory"

I've checked my system for the file /usr/kde/3.1/bin/kdmdesktop  It doesn't
appear to exist.  I then found a page on the KDE website that says:
"KDMDESKTOP

This section is obsolete. In previous versions of kdm it could be used to
control a background screen prior to login. The graphical configurator for kdm
may still generate this section, but it is ignored by kdm."

The link is http://docs.kde.org/en/3.1/kdebase/kdm/KDMDESKTOP.html

I think the call to kdmdesktop needs to be removed from Xsetup_0

Thanks
Comment 1 Tim 2003-06-21 05:02:19 UTC
The same happens with kde3.1.2.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-07-07 13:25:10 UTC
This file is part of the xfree package. 
 
I suppose the simplest fix would be to change "kdmdesktop" to "kdm".  I'll leave it up to the 
xfree people, though. 
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2003-07-08 00:14:03 UTC
No the line just needs to be removed. kdm is called somewhere else in the file
Comment 4 Andrew Bevitt 2003-11-27 16:18:44 UTC
Created attachment 21391 [details, diff]
Patch for Xsetup_0

We cannot simply remove the lines, as there are still KDE 3.0 version ebuilds
in
portage, instead we can do as this patch does and check for the actual
existence
of $KDEDIR/bin/kdmdesktop and if such exists, we must be using < v3.1 in which
case we must execute it.

This should go into the next releases of the xfree versions 4.3.0 and 4.3.99.x
Comment 5 Gregorio Guidi (RETIRED) gentoo-dev 2003-12-03 09:04:42 UTC
In my opinion Xsetup_0 is too kdm specific to be bundled with xfree. xfree should only provide an (empty?) Xsetup_0 for xdm users and each version of kde should provide is own (as kde-3.2 already does). Though I admit that removing Xsetup_0 from xfree could cause some tiny problems of backward compatibility with kde-3.0/3.1, if these are not updated accordingly.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-03 22:40:06 UTC
Patch added in 4.3.0-r*, >=4.3.99.901.

Gregorio: Breaking backwards compatibility is not acceptable, if you have a method that prevents this, please attach a patch and reopen.