Most *DM will call their own respective Xsession files, 99% of these DM's will execute /etc/X11/xinitrc.d files before procession the awesome Sessions file this results in most commands being run twice, and more noteable /etc/X11/xinitrc.d execution twice.. Either DM's should do this or awesome Session file should, but not both. Reproducible: Always
Hm... As far as I remember, /etc/X11/Sessions/awesome is actually quite similar to other session files for window managers. I don't use any DMs and /usr/bin/awesome on my boxes is run directly by qingy, but I'm not sure suggested change breaks nothing. What setup do you have?
(In reply to Nikolaj Sjujskij from comment #1) > Hm... As far as I remember, /etc/X11/Sessions/awesome is actually quite > similar to other session files for window managers. I don't use any DMs and > /usr/bin/awesome on my boxes is run directly by qingy, but I'm not sure > suggested change breaks nothing. What setup do you have? I totally agree with your point here, if you did run a modified awesome session file, from startx it would not! run /etc/X11/xinit.d/* files for you.. this could cause problems depending on your setup (consolekit for one gets started here by some* setups) So it seems that perhaps the DM's shoudl not be doing this xinit.d* and the Session file for awesome should be! Hmm, a mess, there is no easy way to detect if its already been run or not. I could add an xinit.d script that checks an env variable, that we can check for later in awesome session file, but this seems complex..
(In reply to Nikolaj Sjujskij from comment #1) > Hm... As far as I remember, /etc/X11/Sessions/awesome is actually quite > similar to other session files for window managers. I don't use any DMs and > /usr/bin/awesome on my boxes is run directly by qingy, but I'm not sure > suggested change breaks nothing. What setup do you have? after doing further research I believe the fault lies with the DM's it appears all DM's should not* be running xinitrc.d and this should be only executing by each WM.. most notable packages that use xinitrc.d are dbus and *kit Feel free to close this bug, I'll file a new one for lightdm and slim. On a side note, the awesome Session file is missing one important line ''' export command="/usr/bin/awesome" ''' this must happen prior to xinitrc.d/* execution or dbus session management will not start properly.. will require a separate bug i think
Glad that it worked out without me actually doing anything :p I've pinged maksbotan to close this bug, but you (the reporter) can do it yourself (I can't, since I'm not a dev).
Closing as requested.