/usr/share/xsession/xinit-compat.desktop Exec=sh -c "exec ~/.xsession || exec ~/.Xclients || exec /etc/X11/xinit/Xclients" is currently quite complex, and kdm doesn't grok it well (see bug #490566). Mind doing a tiny bit of simplification, using something like Exec=/usr/bin/xinit-compat where /usr/bin/xinit-compat is a script that handles the heavy lifting... #/bin/sh for session in ~/.xsession ~/.Xclients /etc/X11/xinit/Xclients ; do if [ -f ${session} ] ; then exec ${session} fi done I've got this implemented already, and can do the packaging legwork, if this approach is agreeable.
Ping, any comment ?
ping ping (I'll wait another weekish or so, then "just do it" I guess).
(In reply to comment #0) > Mind doing a tiny bit of simplification, using something like > Exec=/usr/bin/xinit-compat > where /usr/bin/xinit-compat is a script that handles the heavy lifting... Sorry for taking so long to see this. I like the idea with one piece of doubt: /usr/bin? Wouldn't it be better to put the script somewhere away (/usr/libexec?, /usr/sbin/?, /etc/X11/xinit/?)?
Good point, probably libexec then (ie, not user-visible).
http://koji.fedoraproject.org/koji/taskinfo?taskID=1961996 What do you think?
Looks like a winner , though %attr(755,-,root) %{_libexecdir}/xinit-compat could be in the -session subpkg too (though it works as-is, not a big deal).
> Looks like a winner , though > %attr(755,-,root) %{_libexecdir}/xinit-compat > could be in the -session subpkg too (though it works as-is, not a big deal). Good point, changed and build for Rawhide http://koji.fedoraproject.org/koji/taskinfo?taskID=2017475(In reply to comment #6)
In which other distros you would like to have this?
At least F-13 too please, and F-12 too if it's not too much trouble (that's the release where the bug/issue was orginally reported).
*** Bug 490566 has been marked as a duplicate of this bug. ***
xorg-x11-xinit-1.0.9-15.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/xorg-x11-xinit-1.0.9-15.fc12
(In reply to comment #9) > At least F-13 too please, and F-12 too if it's not too much trouble (that's the > release where the bug/issue was orginally reported). https://admin.fedoraproject.org/updates/xorg-x11-xinit-1.0.9-15.fc12