[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: 3.4RC1: kdm won't start KDE
From:       James Richard Tyrer <tyrerj () acm ! org>
Date:       2005-02-27 21:58:18
Message-ID: 4222427A.2050105 () acm ! org
[Download RAW message or body]

Jim Philips wrote:
> This was also true of my installation of KDE 3.4 Beta 2. If I try to start a 
> KDE session with kdm, I only get an xterm showing up over the kdm screen. If 
> I then type "startkde" into that terminal, KDE starts up. But I always get 
> the xterm first. Every other window manager starts up normally from kdm. This 
> is on Slackware 10.1 running X11 6.8.1. Is this a known bug? Is there a fix 
> out there?

First be absolutely certain that you don't have more than one: "kdm" 
executable on your system or if you have multiple versions installed, 
make sure that you are using the correct one.

If you installed over an existing installation, it is possible that the 
configuration didn't work.  Rename or move to safety: 
"$KDEDIR/share/config/kdm", then go to: "kdebase/kdm" in your source 
tree and [as root]:

	make install

If that doesn't fix it, you will need to debug the file: 
"$KDEDIR/share/config/kdm/Xsession" to see why it isn't working.

First, do you have: "KDE" in the KDM login dialog: "Menu -> Session Type".

Second, make sure that the: "startkde" script is on the path that is 
passed to Xsession.

What happens is that KDM calls this script (Xsession) after you login 
with the command:

	Xsession <Exec>

Where <Exec> is the "Exec" command (e.g. Exec=startkde will use 
"startkde" as the parameter) in the 'desktop' file corresponding to the: 
"Session Type" that you choose in the KDM login dialog: "Menu".  Then 
the script should pass this to the line:

	eval exec "$1"

A quick kludge fix is to change this line to:

	exec <full path>/startkde

Or, you might want to try that to see if it works.

-- 
JRT
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic