LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-29-2012, 03:54 PM   #1
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Rep: Reputation: 119Reputation: 119
after kde 4.8.2 upgrade, kdm does not offer session type XFCE4 anymore


did anyone else find this regression, or has a fix?
 
Old 04-29-2012, 11:06 PM   #2
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Yes, I noticed the same thing when I switched to id:4:initdefault: so a guest could use the computer. As I usually boot to the command prompt, id:3, it is not a problem (for me) and didn't pursue a solution.
 
Old 04-30-2012, 01:46 AM   #3
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 294

Rep: Reputation: 39
Isn't it available on the list? I'm using XFCE4 via runlevel 4 with KDM.
 
Old 04-30-2012, 12:05 PM   #4
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Original Poster
Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by dc_eros View Post
Isn't it available on the list? I'm using XFCE4 via runlevel 4 with KDM.
it isn't on the list for me. currently i'm going in via runlevel 3 and startx, but I can't roll this out to my users.
 
Old 04-30-2012, 02:37 PM   #5
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Original Poster
Rep: Reputation: 119Reputation: 119
Solution: the file /usr/share/apps/kdm/sessions/xfce4.desktop is missing in kde-workspace-4.8.2.

Just copy it from kde-workspace-4.5.5, or use the following (i18n omitted):

Code:
[Desktop Entry]
Type=XSession
Exec=startxfce4
TryExec=startxfce4
Name=XFce 4
Comment=The Cholesterol Free Desktop Environment, version 4. A desktop environment reminiscent of CDE
Will e-mail Pat, too.
 
1 members found this post helpful.
Old 05-19-2012, 10:14 AM   #6
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
Works great. Thanks
 
Old 05-19-2012, 11:16 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
This is strange.
Don't you have a KDM session menu entry called "Xfce"? I removed the XFCE4 session entries which ship with KDE 4.8, this is what I had to say in my ktown changelog:
Code:
Sat Jan 28 16:36:33 UTC 2012
4.8.0/kde/kde-workspace:  make KDM look first in Slackware's standard xsessions
  directory /usr/share/xsessions ; also remove the xfce*.desktop xsession files
  which are shipped with KDM (our XFCE package provides this already).
  Requested by Robby Workman.
I have a "Xfce" session menu entry on this very laptop, provided by the file "/usr/share/xsessions/xfce.desktop" which is part of the xfce-4.6.2 package in Slackware-current (and 13.37).
Do you have a different version of XFCE installed, or are you not using Slackware proper?

Or else, did you perhaps forget to replace your "/usr/share/config/kdm/kdmrc" file with the "/usr/share/config/kdm/kdmrc.new" file which gets installed by the kde-workspace package? That kdmrc file was changed for KDE 4.8 to make it find the X Session entries which the XFCE package installs into Slackware.

Eric
 
1 members found this post helpful.
Old 05-19-2012, 01:54 PM   #8
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 497

Original Poster
Rep: Reputation: 119Reputation: 119
Eric, I think you solved the mystery.

Quote:
Originally Posted by Alien Bob View Post
Or else, did you perhaps forget to replace your "/usr/share/config/kdm/kdmrc" file with the "/usr/share/config/kdm/kdmrc.new" file which gets installed by the kde-workspace package? That kdmrc file was changed for KDE 4.8 to make it find the X Session entries which the XFCE package installs into Slackware.
Indeed, that is the solution:

Code:
root@arnold$ diff kdmrc kdmrc.new | grep Sessions
< SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions
> SessionsDirs=/usr/share/xsessions,/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions
So people, update your kdmrc file.
 
Old 05-19-2012, 02:20 PM   #9
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Quote:
Originally Posted by Alien Bob View Post
...did you perhaps forget to replace your "/usr/share/config/kdm/kdmrc" file with the "/usr/share/config/kdm/kdmrc.new" file which gets installed by the kde-workspace package? That kdmrc file was changed for KDE 4.8 to make it find the X Session entries which the XFCE package installs into Slackware...
Must have missed that in the documentation...
 
Old 05-19-2012, 02:49 PM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by cwizardone View Post
Must have missed that in the documentation...
Standard practice after installing packages... either run "slackpkg new-config" or use "find /etc -name '*.new'" to find the newly installed configuration files that are not being used at the moment.

Eric
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After upgrade to KDE 4: KDE session invalid, defaults to twm ernst Linux - Desktop 4 07-21-2009 10:18 AM
upgrade to slackware 12.2 + xfce4.6 (xfce4-power-manager doesn't work) zux Slackware 4 04-22-2009 11:28 AM
VNC not functioning anymore after KDE upgrade mcguyver SUSE / openSUSE 4 11-11-2005 09:31 AM
need to add 'gnome-session' to kdm login screen in KDE 3.2.2 kastorff Linux - Software 0 04-30-2004 01:22 PM
How to Add a Session Type to KDM? fcaraballo Slackware 3 04-19-2004 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration