Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364861 - kdm doesn't list session files at /etc/X11/Sessions/
Summary: kdm doesn't list session files at /etc/X11/Sessions/
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-25 22:25 UTC by Jesús Guerrero Botella (RETIRED)
Modified: 2011-07-17 11:24 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 Jesús Guerrero Botella (RETIRED) gentoo-dev 2011-04-25 22:25:36 UTC
kdm doesn't list the session files under /etc/X11/Sessions. x11-wm/fvwm only installs the session file in there, which means that fvwm is not in the kdm list, not even if I edit kdmrc and add that path to the SessionsDirs directive.

It kind of lists the option for fvwm (without label, but it works) if I ln -s /etc/X11/Sessions/fvwm to /etc/X11/Sessions/fvwm.desktop

By researching a bit I discovered that this shouldn't be needed at all, since kde installs .desktop files for about any existing WM, and there's a line for that in kdmrc that's commented out by default.

So, my question is, shouldn't we be doing this with the default kdmrc?


--- /usr/share/config/kdm/kdmrc.orig    2011-04-26 00:24:57.245051737 +0200
+++ /usr/share/config/kdm/kdmrc 2011-04-26 00:25:08.501718029 +0200
@@ -283,8 +283,8 @@
 # The directories containing session type definitions in .desktop format,
 # ordered by falling priority.
 # Default is "/usr/share/apps/kdm/sessions"
-#SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions
-SessionsDirs=/usr/share/xsessions
+SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions
+#SessionsDirs=/usr/share/xsessions
 # The file (relative to $HOME) to redirect the session output to. The
 # following character pairs are replaced:
 # - %d -> current display

Reproducible: Always
Comment 1 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-05-11 09:42:47 UTC
can you report that upstream please? and paste the upstream bug number here. thanks
Comment 2 Jesús Guerrero Botella (RETIRED) gentoo-dev 2011-05-11 11:07:38 UTC
Yes, I can. As soon as possible I'll report it and let you know.
Comment 3 Jesús Guerrero Botella (RETIRED) gentoo-dev 2011-05-11 12:38:32 UTC
https://bugs.kde.org/show_bug.cgi?id=273038
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-07-11 20:26:43 UTC
Upstream says it's a downstream problem. I think that is wrong, but we'll end up fixing it ourselves anyway.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2011-07-12 20:52:01 UTC
Fixed in 4.6.5-r1 and later. And yes it was our fault.
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2011-07-15 09:16:01 UTC
-       sed -e "s|^.*SessionsDirs=.*$|#&\nSessionsDirs=${EPREFIX}/usr/share/xsessions|" \
+       sed -e "s|^.*SessionsDirs=.*$|#&\nSessionsDirs=${EPREFIX}/usr/share/apps/kdm/sessions|" \

Is it correct that you dropped support for .desktop files in /usr/share/xsessions completely? I can't choose to start my awesome no more :(

How does one use kdm with window managers using make_session_desktop from eutils.eclass (which installs to /usr/share/xsessions) but have no .desktop file installed by kdm itself?
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2011-07-17 11:24:58 UTC
Should work again in -r2; I added this directory as second alternative. After all, Gentoo has to be awesome. :)