FS#37885 - [lightdm] Do not source xsession

Attached to Project: Community Packages
Opened by Balló György (City-busz) - Saturday, 23 November 2013, 09:15 GMT
Last edited by Maxime Gauduin (Alucryd) - Saturday, 23 November 2013, 12:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

1. The /etc/X11/xsession.d is a Debian-specific directory, and no need to be sourced on Arch Linux. The /etc/X11/xinit/xinitrc.d directory provides the equivalent functionality, which is already sourced by LightDM's Xsession.

2. The ~/.xsession file should not be sourced, because it just run the ~/.xinitrc script by default (see /etc/skel/.xsession file from the xorg-xinit package). The ~/.xinitrc script is used by startx and xinit to start a DE/WM, and should not be launched by display managers, that support /usr/share/xsessions/*.desktop files. Otherwise two DE/WM will be started after each other, when the user uncomment an exec line in his/her ~/.xinitrc file.
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Saturday, 23 November 2013, 12:09 GMT
Reason for closing:  Fixed
Comment by Maxime Gauduin (Alucryd) - Saturday, 23 November 2013, 12:09 GMT
I see, thanks for pointing this out, I have applied your patch in 1.8.5-2.

Loading...