Summary: | kdm doesn't list all available session files | ||
---|---|---|---|
Product: | kdm | Reporter: | Jesús Guerrero Botella <jesus.guerrero.botella> |
Component: | general | Assignee: | kdm bugs tracker <kdm-bugs-null> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | normal | CC: | dilfridge |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Jesús Guerrero Botella
2011-05-11 14:37:49 UTC
this is a packaging problem. please report to gentoo. (In reply to comment #1) > this is a packaging problem. please report to gentoo. I did, they sent me here. Can you, please, explain your reasoning a bit? I really don't know in which side the problem lies, but this kdmrc seems the stock one from upstream. Just for reference: http://bugs.gentoo.org/show_bug.cgi?id=364861 a) the defaults in kdmrc are distro-specific. the upstream defaults are as "neutral" as possible. distros should patch config.def (and genkdmconf.c for some things) to adjust defaults. b) the fvwm package is broken, as the session file needs to have a .desktop extension c) the fvwm session from the kdm package might be either disabled by gentoo (because technically it doesn't belong there) or it may be simply wrong for the given configuration (containing the wrong executable name) Thanks for the reply. I'll comment some things. Bear in mind always that is not my desire to argue you, mainly because I couldn't ever do that because I know nothing about this concrete matter. (In reply to comment #3) > a) the defaults in kdmrc are distro-specific. the upstream defaults are as > "neutral" as possible. distros should patch config.def (and genkdmconf.c for > some things) to adjust defaults. The default upstream kdmrc says that session files must be looked for in SessionsDirs=/usr/share/xsessions, there's an alternate SessionsDirs in kdmrc that is commented out, pointing to #SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions. There are directories where kdm itself (not any other package, but kdm) install its own session files. I am guessing that the default kdmrc is set so that distro specific session files will take precedence over the kde-branded ones. Is that a correct assumption? Understand that I need to know the reasoning behind this if I want to have any chance to get this fixed in Gentoo, since they think that this belongs upstream. > b) the fvwm package is broken, as the session file needs to have a .desktop > extension Actually, I might have mixed the things a bit up. The no-.desktop file goes in /etc/X11/Sessions/, which I guess is fine. There's no file for fvwm at all in the default /usr/share/xsessions/ directory. So, I guess fvwm has no .desktop file at all (with or without the proper extension). Files in /etc/X11/Sessions are shell scripts. (In reply to comment #4) > The default upstream kdmrc says [...] > no, it doesn't. this is not the upstream default setting. if you want to get that, compile unpatched upstream sources and run genkdmconf --no-old. > Files in /etc/X11/Sessions are shell scripts. > ah, that's entirely unrelated to kdm's session definitions (one could create .desktop files for these scripts, though). (In reply to comment #5) > (In reply to comment #4) > > The default upstream kdmrc says [...] > > > no, it doesn't. this is not the upstream default setting. if you want to get > that, compile unpatched upstream sources and run genkdmconf --no-old. > > > Files in /etc/X11/Sessions are shell scripts. > > > ah, that's entirely unrelated to kdm's session definitions (one could create > .desktop files for these scripts, though). Thank you for the insight. It seems I have some work to do if I want to get this sorted out. :) (In reply to comment #5) > (In reply to comment #4) > > The default upstream kdmrc says [...] > > > no, it doesn't. this is not the upstream default setting. if you want to get > that, compile unpatched upstream sources and run genkdmconf --no-old. I disagree. First of all, Gentoo always compiles kdm with GENKDMCONF_FLAGS="--no-old --no-backup", second none of our patches even touches this section. So, this may actually be upstream default. (This whole configuration generation business may be great for a power user installing his own kde from scratch; for a distribution it's just a mess.) Anyway, I guess we'll just figure out how to effectively apply Jesus' patch. (In reply to comment #7) > (In reply to comment #5) > > (In reply to comment #4) > > > The default upstream kdmrc says [...] > > > > > no, it doesn't. this is not the upstream default setting. if you want to get > > that, compile unpatched upstream sources and run genkdmconf --no-old. > > I disagree. First of all, Gentoo always compiles kdm with > GENKDMCONF_FLAGS="--no-old --no-backup", second none of our patches even > touches this section. So, this may actually be upstream default. > > (This whole configuration generation business may be great for a power user > installing his own kde from scratch; for a distribution it's just a mess.) > > Anyway, I guess we'll just figure out how to effectively apply Jesus' patch. I can't find how Gentoo is modifying anything here either. I somehow lost interest in this anyway, since some other login manager I am using now gained consolekit support. > second none of our patches even touches this section. > and what exactly does line 81 in http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/kde-base/kdm/kdm-4.6.5.ebuild?view=markup do, huh? you are supposed to patch config.def instead of the generated files. :( me stupid. sorry for the noise. |