Comment 6 for bug 465349

Revision history for this message
Damien Robert (robertdamien) wrote :

Well the recommanded way to source your xsession is given in bug: #398300.

There are two things that happen here:
You have to add a file named "Xsessions.desktop" to /etc/X11/sessions with the contents:
[Desktop Entry]
Name=Xsession
Comment=This runs ~/.xsession
Exec=/etc/X11/Xsession

Exec=default should be the right way, but it is not because of the bug i reported here.
The problem is that with Exec=/etc/X11/Xsession, the files in Xsession.d get sourced twice, so it would be nice if we could put Exec=default instead.