Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256849 - x11-apps/xinit-1.0.8-r3 (perhaps previous too) xdm startup failure
Summary: x11-apps/xinit-1.0.8-r3 (perhaps previous too) xdm startup failure
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 21:04 UTC by Marco Paolone
Modified: 2009-09-20 09:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Paolone 2009-01-29 21:04:46 UTC
Hi all!

I just unmasked the entire kde-4.2 set. Got a problem when starting up the X session. I haven't set the kdeprefix use flag, causing xdm init script not to find the right executable that's now installed in /usr/bin and no more in /usr/kde.

Reproducible: Always

Steps to Reproduce:
1.Emerge x11-apps/xinit-1.0.8-r3 without hal USE flag and kdebase-meta-4.2.0 with relative dependencies.
2.Editing /etc/conf.d/xdm: XSESSION="kde-4.2"
3.Editing /etc/env.d/90xsession: XSESSION="kde-4.2"

Actual Results:  
X refused to start.

Expected Results:  
X started up normally.

Modifing the XSESSION="kdm" variable in both config files resolved the problem
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-30 02:29:15 UTC
This seems plausible:

Index: files/xdm.initd-2
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-apps/xinit/files/xdm.initd-2,v
retrieving revision 1.1
diff -u -B -r1.1 xdm.initd-2
--- files/xdm.initd-2   6 May 2008 08:16:56 -0000       1.1
+++ files/xdm.initd-2   30 Jan 2009 02:28:35 -0000
@@ -62,7 +62,7 @@
        PATH="${PATH}:$(. /etc/profile.env; echo "${ROOTPATH}")"

        case "${MY_XDM}" in
-               kdm|kde|kde2|kde3)
+               kdm|kde|kde2|kde3|kde4)
                        EXE="$(which kdm)"
                        # kdm takes too long to create a pidfile for baselayout-2
                        #PIDFILE=/var/run/kdm.pid
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2009-01-30 04:06:01 UTC
What's in /etc/X11/Sessions/ ?
Comment 3 Marco Paolone 2009-01-30 11:32:22 UTC
(In reply to comment #2)
> What's in /etc/X11/Sessions/ ?
> 

file kde-4.2:

#!/bin/sh
exec /usr/bin/startkde
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-06-19 15:34:02 UTC
@KDE, what's up with this? I'm not sure I even understand what the bug is...

Thanks
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2009-09-20 09:33:02 UTC
Even the guide mentions it.

-kdeprefix:
DISPLAYMANAGER="kdm"
+kdeprefix:
DISPLAYMANAGER="kdm-${SLOT}"