Summary: | kdm (3.2.0_beta1) and sessions: new behaviour | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gregorio Guidi (RETIRED) <greg_g> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
kdmrc
Xsetup kdebase-3.2.0_beta1.ebuild.diff |
Description
Gregorio Guidi (RETIRED)
2003-11-08 03:23:38 UTC
Created attachment 20416 [details]
kdmrc
goes in /usr/portage/kde-base/kdebase/3.2.0_beta1/
Created attachment 20417 [details]
Xsetup
goes in /usr/portage/kde-base/kdebase/3.2.0_beta1/
Created attachment 20418 [details, diff]
kdebase-3.2.0_beta1.ebuild.diff
modifications to the ebuild
I think the first solution is probably the best in this case. I'll look into it and try to get it in as soon as I can. I saw the commit, thanks a lot! two notes: the line with the substitution "s:_VERSION_:${VERSION}:g": I removed it because it is no longer necessary. If you want to custimize the kdm background as in preceding versions, readd the line "cp ${FILESDIR}/${PVR}/backgroundrc ." My diff removed it, but it can stay as well, it's just a matter of opinions... Bye. I'm going to mark this as fixed (changed the last few things per your suggestion). My guess is this will still require some more modifications later, but I think this is a good fix for now. Thanks a lot! This may help someone if you cannot log into kde after kdm login in kde 3.2.1. I had to run genkmdconf (in kde bin dir) to have it generate the necessary files. I'm not filing a bug in this as I hope it will be fixed as the new kdm takes shape. In fact this is a tricky issue. As things stands now, to have kdm working properly, you must have: - a kdmrc which contains SessionDirs=/usr/kde/3.2/share/config/kdm/sessions - kdmrc pointing to the Xsetup script provided by the ebuild - kdmrc pointing to the right Xsession script - the right Xsetup script if something goes wrong (for instance if a user does not etc-update correctly), breakages will occur (this system is not very resilient to errors). If someone tries to solve a problem with genkdmconf, two things can happen: - if genkdmconf is run without options, the files in /usr/kde/3.2/share/config/kdm will be generated using what is found on the system (mainly copied from /etc/X11/xdm). So every user could end up with a different setup (working or not) - if genkdmconf is run with --no-old (or something like that), it will install the default files. This will probably give a working kdm, but... In either case, you will end up with a "buggy" setup: the customizations made by the kdebase ebuild are not considered (for instance the directory /etc/X11/Sessions, which is gentoo specific, is ignored). I hope I clarified the problem a bit, and I will gladly accept possible solutions ;) |