[plug] gdm configuration and kde4 - FIXED

Steve Boak sboak at westnet.com.au
Sat Sep 12 15:32:12 WST 2009

I know - answering my own email and all that...

On Sat, 12 Sep 2009 02:34:23 pm Steve Boak wrote:
> Hi all
> I have recently updated my Debian laptop to KDE4. Apart from the once when
> the update completed, I can't run KDE under either gdm or kdm - KDE doesn't
> come up in the list of session types. My session options under gdm at the
> moment are:
> Last session (selected)
> 1, Run Xclient script (I think this is the last session - runs GNOME)
> 2. GNOME
> 3. Secure Remote connection
> 4. TWM
> 5. Failsafe GNOME
> 6. Failsafe Terminal
> My question is: where are these options defined - in a file, or is the list
> dynamically built, because I can't find a configuration file anywhere
> containing these options.
> How do I add KDE4 to the list of sessions?
> (been googling for the last couple of hours with no luck, but I do know
> lots more about gdm than I did a little while ago :-)
> Steve

Found the problem, but it was not what I expected. /usr/bin/startkde was 
missing, as was /usr/share/xsessions/kde.desktop (session description files, 
xxx.desktop, are stored in /usr/share/xsessions/ ).

On a whim, I tried "apt-cache search startkde" which returned
"kdebase-workspace-bin - core binaries for the KDE 4 base workspace module"

Seems kdebase-workspace-bin had somehow been uninstalled, by what or who I 
don't know - I certainly didn't tell it to do that. 

"apt-get install kdebase-workspace-bin" and 
"cp /usr/share/kde4/apps/kdm/sessions/kde.desktop /usr/share/xsessions" sorted 
it out.

Now I can select KDE on the gdm session list and it works.



"You might ask, 'if you're in a life boat, and the life boat 
is sinking, do you bail at the average rate of the other 
passengers or do you bail as fast as you can?'

Blair Trewin - Climatologist at Australia's National Climate Centre

Steve Boak, (08) 9756 0662, P.O. Box 240, Nannup, WA 6275
Nannup Telecentre IT Support, Phone (08) 9756 3022
Engin VOIP number (08) 6461 6187 (local number in Perth)

More information about the plug mailing list