LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   After upgrade to KDE 4: KDE session invalid, defaults to twm (http://www.linuxquestions.org/questions/linux-desktop-74/after-upgrade-to-kde-4-kde-session-invalid-defaults-to-twm-741559/)

ernst 07-20-2009 11:35 PM

After upgrade to KDE 4: KDE session invalid, defaults to twm
 
I have upgraded to KDE4 on Debian Lenny
(using the testing and unstable repos.
in sources.list)
Aptitude installed e.g.
kdebase-bin 4:3.5.9.dfsg.1-6
kdm 4:3.5.9.dfsg.1-6

The Debian login screen comes up but tells that
the kde session type is no more valid.
The only session types available are Default, twm, TWM, Failsafe.

However if I login with twm and do
Code:

ps -ef | grep kdm
it shows that kdm is running!

BTW I ran kaboom and selected original KDE4 settings

Thanks

jdkaye 07-21-2009 12:38 AM

Quote:

Originally Posted by ernst (Post 3614636)
I have upgraded to KDE4 on Debian Lenny
(using the testing and unstable repos.
in sources.list)
Aptitude installed e.g.
kdebase-bin 4:3.5.9.dfsg.1-6
kdm 4:3.5.9.dfsg.1-6

The Debian login screen comes up but tells that
the kde session type is no more valid.
The only session types available are Default, twm, TWM, Failsafe.

However if I login with twm and do
Code:

ps -ef | grep kdm
it shows that kdm is running!

BTW I ran kaboom and selected original KDE4 settings

Thanks

I'm not sure that upgrading to kde4 in Lenny was a great idea. You'd be better off switching to Squeeze at this point. You might have a lot of broken packages as a result. Have you run aptitude without arguments to get the ncurses version? It will tell you how many broken packages you have.

Also you can grep for kdeinit rather than kdm and see if that's running. The fact that kdm is running is not indicative of a functioning kde. I can start kde from gdm, for example. So gdm will be running but not gnome.
cheers,
jdk

ernst 07-21-2009 02:29 AM

ps -ef| grep kdeinit does not show anything.
But then that is while twm is running.

aptitude (ncurses) does not report any broken packages.

Thank you for the reply

ernst 07-21-2009 10:35 AM

Although I am quite optimistic that this could work, I have decided to go back to KDE 3.5

There is a similar thread 'No kde in session options in login window; using twm' but their solution
is for Fedora not for Debian.

jdkaye 07-21-2009 11:18 AM

Quote:

Originally Posted by ernst (Post 3615251)
Although I am quite optimistic that this could work, I have decided to go back to KDE 3.5

There is a similar thread 'No kde in session options in login window; using twm' but their solution
is for Fedora not for Debian.

At the time of login, when you enter your name and password you have a Sessions menu that allows you to choose what you want to run (gnome, kde twm, etc.) if you have more than one DM installed. I don't know if kde appears as an option in your current setup and if it does, then whether it will work or not. If you're curious about it then you can give it a try.
Cheers,
jdk


All times are GMT -5. The time now is 10:09 PM.