Most DE and window managers (such as KDE, fluxbox, openbox, awesome) create a file in /etc/X11/Sessions. It serves the similar purpose to /usr/share/xsessions/*.desktop, for example, sys-apps/qingy allows user to choose session based on those files. Please add such a file to lxde-base/lxde-common (or more appropriate file if there's one), see working example (based on fluxbox entry) attached.
Created attachment 236629 [details] LXDE xsession entry for /etc/X11/Sessions/
@lxde, what is blocking this? This bug makes impossible to sanely launch different desktop environments from the command line due to being forced to have a ~/.xinitrc, which completely overrides XSESSION variable. If this bug is fixed, one can have a default desktop environment in the typical place in /etc/conf.d or /etc/env.d (depending on versions) and override with "XSESSION=lxde startx".
...anybody? this file really needs to be added. Probably to lxde-base/lxde-common??
I fail to understand this issue. Could you please elaborate a little bit why this is important? Cause I am using LXDE and everything seems to work perfect. Just tell me what to do in order to understand how this file will fix anything
(In reply to comment #4) > I fail to understand this issue. Could you please elaborate a little bit why > this is important? Cause I am using LXDE and everything seems to work perfect. > Just tell me what to do in order to understand how this file will fix anything Well, I could speak for my particular issue: install sys-apps/qingy, run it on one of ttys, try to select LXDE session with it. Others will describe their expectations, I expect.
*** Bug 389607 has been marked as a duplicate of this bug. ***
Well, long standing bug. I revbump lxde-common to 0.5.5-r2 and added the file you attached here. I hope this fixes your problem. Let me know if you any problem with that