FS#36907 - [lightdm] Lightdm won't start with the default installation
Attached to Project:
Community Packages
Opened by Tom (reztho) - Thursday, 12 September 2013, 21:04 GMT
Last edited by Maxime Gauduin (Alucryd) - Friday, 13 September 2013, 08:32 GMT
Opened by Tom (reztho) - Thursday, 12 September 2013, 21:04 GMT
Last edited by Maxime Gauduin (Alucryd) - Friday, 13 September 2013, 08:32 GMT
|
Details
Description:
Following the Archlinux wiki installation guide, Lightdm will start blinking and finally fail to start. Lightdm tries to write to its directory in /var/lib/lightdm and since it runs with its regular user, lightdm, and the directory has root permissions, it fails. Additional info: * package version(s) 1:1.6.1-3 * In the log file, this appears: ** (process:19533): WARNING **: Error reading existing Xauthority: Failed to open file '/var/lib/lightdm/.Xauthority': Permission denied Steps to reproduce: Just follow the installation guide from the wiki. More confirmation: https://bbs.archlinux.org/viewtopic.php?id=169609 Fix: Add this line to the .install file of the package: chown lightdm:lightdm /var/lib/lightdm > /dev/null |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Friday, 13 September 2013, 08:32 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1:1.6.1-4
Friday, 13 September 2013, 08:32 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1:1.6.1-4
https://bugs.archlinux.org/task/36770
So the solution is:
- Remove the following line from lightdm.install file:
chown lightdm:lightdm /var/log/lightdm > /dev/null
- Add the following line to the PKGBUILD file:
chown -R 620:620 "$pkgdir"/var/{lib,log}/lxdm