FS#13755 - xorg-xdm uses the depreceated xsm as default session management
Attached to Project:
Arch Linux
Opened by Johannes Dewender (JonnyJD) - Wednesday, 11 March 2009, 18:49 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 28 April 2009, 20:27 GMT
Opened by Johannes Dewender (JonnyJD) - Wednesday, 11 March 2009, 18:49 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 28 April 2009, 20:27 GMT
|
Details
Description:
/etc/X11/xdm/Xsession executes xsm when no .xession is found for the user. The user is thrown right back to xdm, when xsm is not existent. This is logged in .xsession-errors. This doesn't affect many archers, because most already have some .xsession file, but it is a great annoyance to users who install arch the first time and don't get xdm to work. xsm is depreceated here, but it seems like it is still the standard session manager for xdm. So we should change this behavior with a patch. My idea would be to use /etc/X11/xinit/xinitrc as a session script. I attach a patch for this solution. Additional info: * package version(s) xorg-xdm 1.1.8-1 xorg-xsm (well, depreceated and not existent in arch anymore) * config and/or log files etc. /etc/X11/xdm/Xsession ~/.xsession (problem when not existent) Steps to reproduce: rename or remove ~/.xsession login in xdm |
This task depends upon
Closed by Eric Belanger (Snowman)
Tuesday, 28 April 2009, 20:27 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in xorg-xdm-1.1.8-2
Tuesday, 28 April 2009, 20:27 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in xorg-xdm-1.1.8-2
Changed that in this patch and also inluded absolute filenames in the patch.
Maybe we should use something different then the xinit files (xorg-xinit would be needed for that) and include some default xsession. I have no clue why there isn't something like that already. A user should be able to start x in some default fashion when the .xsession is deleted or never existent.
Well, here is the one I intended to send.
Anyways, I added -l to my patch.
This is now how I use it on some system.