Bug#762211: [Pkg-xfce-devel] Bug#762211: lightdm crashes on startup, system falls back to console
control: forwarded -1 https://bugs.launchpad.net/lightdm/+bug/1378994 On Wed, Oct 08, 2014 at 10:36:41AM +0400, Vlad Orlov wrote: Hi, I confirm this. Thanks for the hint about erasing some parameters from the config file. I was able to fix lightdm by commenting these lines in /etc/lightdm/lightdm.conf: I just took the time to forward that upstream at https://bugs.launchpad.net/lightdm/+bug/1378994 Regards, -- Yves-Alexis signature.asc Description: This is a digitally signed message part
Bug#762211: [Pkg-xfce-devel] Bug#762211: lightdm crashes on startup, system falls back to console
On sam., 2014-10-04 at 15:36 +0200, Patrick Häcker wrote: On Sun, 28 Sep 2014 21:43:08 +0200 Yves-Alexis Perez cor...@debian.org wrote: sorry for the delayed reply. I could indeed confirm that the problem is in the config file. Keeping the old config files breaks the upgrade, while installing the new ones has no problem. Here is the offending lightdm.conf: http://pastebin.com/RmcGJiNj A quick look doesn't reveal anything offending, but now that you identified the cause you can “bisect” to find the offending line, I guess. I did exactly that, as I have been bitten by that bug, too. The problematic line in my setup is greeter-session=lightdm-kde-greeter This one has been manually added. You're basically saying lightdm the greeter is lightdm-kde-greeter. If you don't have it installed, then it obviously can't start it, so it might be worth double checking that. If it is active, lightdm fails to start, if it is commented, lightdm works. In the package's current config file, this line does not exist. As Fabio Rosciano has the line greeter-session=lightdm-greeter in his config, too, this is very likely the culprit. lightdm-greeter is the correct setting, lightdm-greeter is managed using the alternatives system, so if you remove a greeter the system will switch to another greeter automatically. The next line greeter-hide-users=false is at the same place and active both in our conf files. Thus I think these lines have been created automatically, shipped by an older version or came from some tutorial. Therefore it's important, that lightdm can cope with this line without crashing, as this will hit more users and some users won't have the skill needed to remove a line in a config file when upgrading to Jessie. Yup, greeter-hide-users was previously set (to true) in /e/l/lightdm.conf, and is now set in /usr/share/lightdm/lightdm.conf.d/01_debian.conf. So, can you actually check which one is actually making lightdm crash? -- Yves-Alexis signature.asc Description: This is a digitally signed message part
Bug#762211: [Pkg-xfce-devel] Bug#762211: lightdm crashes on startup, system falls back to console
The problematic line in my setup is greeter-session=lightdm-kde-greeter This one has been manually added. You're basically saying lightdm the greeter is lightdm-kde-greeter. If you don't have it installed, then it obviously can't start it, so it might be worth double checking that. Sorry for not being precise. I had and still have it installed: dpkg -l | grep ' lightdm' ii lightdm 1.10.2-2 amd64 simple display manager ii lightdm-kde-greeter 0.3.2.2-1 amd64 LightDM KDE greeter But instead of being used, that line produces the following error (with varying memory address) crashing lightdm: *** Error in `/usr/sbin/lightdm': double free or corruption (fasttop): 0x7ff6ca2175f0 *** As Fabio Rosciano has the line greeter-session=lightdm-greeter in his config, too, this is very likely the culprit. lightdm-greeter is the correct setting, lightdm-greeter is managed using the alternatives system, so if you remove a greeter the system will switch to another greeter automatically. Yes, but I guess that as soon as the key greeter-session appears in the config file, lightdm 1.10.2-2 crashes. It definitely does it on my computer with the value lightdm-kde-greeter. I haven't checked other values, but I can do that if you tell me which values I should check. Yup, greeter-hide-users was previously set (to true) in /e/l/lightdm.conf, and is now set in /usr/share/lightdm/lightdm.conf.d/01_debian.conf. So, can you actually check which one is actually making lightdm crash? The former one lets lightdm crash. greeter-hide-users does not seem to have anything to do with the crash. I just wanted to mention it, as the configuration with both keys set seems to be quite common, which is why this crash should be fixed without the need that everyone removes the greeter session key from his config. Kind regards Patrick P. S. If you can't reproduce it: Both Fabio Rosciano have an amd64 system. It might be different on an i386 system. signature.asc Description: This is a digitally signed message part.
Bug#762211: [Pkg-xfce-devel] Bug#762211: lightdm crashes on startup, system falls back to console
On Sat, 27 Sep 2014 19:05:51 -0400 Michael Gilbert mgilb...@debian.org wrote: A recent version of the package updates /etc/lightdm/lightdm.conf, but if the user elects to not use the new maintainer conffile, this problem will occur. Dear all, sorry for the delayed reply. I could indeed confirm that the problem is in the config file. Keeping the old config files breaks the upgrade, while installing the new ones has no problem. Here is the offending lightdm.conf: http://pastebin.com/RmcGJiNj And this is lightdm-gtk-greeter.conf http://pastebin.com/iV3bsLpw I hope this helps. -- The only time a dog gets complimented is when he doesn't do anything. -- C. Schulz -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#762211: [Pkg-xfce-devel] Bug#762211: lightdm crashes on startup, system falls back to console
On Sat, 27 Sep 2014 19:05:51 -0400 Michael Gilbert mgilb...@debian.org wrote: A recent version of the package updates /etc/lightdm/lightdm.conf, but if the user elects to not use the new maintainer conffile, this problem will occur. Confirmed...installing new conf file file and manually merging with the old one works. Sincerely, Gour -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#762211: [Pkg-xfce-devel] Bug#762211: lightdm crashes on startup, system falls back to console
control: tag -1 -unreproducible A recent version of the package updates /etc/lightdm/lightdm.conf, but if the user elects to not use the new maintainer conffile, this problem will occur. Best wishes, Mike -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#762211: [Pkg-xfce-devel] Bug#762211: lightdm crashes on startup, system falls back to console
On Wed, 24 Sep 2014 07:26:16 +0200 Yves-Alexis Perez cor...@debian.org wrote: On mer., 2014-09-24 at 12:47 +1000, Bryan Cebuliak wrote: Same problem here. I purged, installed reliable working kdm, then I downgraded to lightdm 1.10.1 from testing. It works. Your bleeding user, etc ___ Can you give us the result of dpkg -l |grep lightdm when fully upgraded and it doesn't work? Same problem here which appeared after I did: apt-get upgrade today... $ dpkg -l |grep lightdm ii liblightdm-gobject-1-0 1.10.2-1 amd64simple display manager (gobject library) ii lightdm 1.10.2-1 amd64simple display manager ii lightdm-gtk-greeter 1.8.5-1 amd64simple display manager (GTK+ greeter) Downgrading helps, but re-upgrading does not. Sincerely, Gour -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#762211: [Pkg-xfce-devel] Bug#762211: lightdm crashes on startup, system falls back to console
No. Because now on reupgrade to 1.10.2 it works. On 24 September 2014 15:26, Yves-Alexis Perez cor...@debian.org wrote: On mer., 2014-09-24 at 12:47 +1000, Bryan Cebuliak wrote: Same problem here. I purged, installed reliable working kdm, then I downgraded to lightdm 1.10.1 from testing. It works. Your bleeding user, etc ___ Can you give us the result of dpkg -l |grep lightdm when fully upgraded and it doesn't work? Regards, -- Yves-Alexis
Bug#762211: [Pkg-xfce-devel] Bug#762211: lightdm crashes on startup, system falls back to console
On mer., 2014-09-24 at 12:47 +1000, Bryan Cebuliak wrote: Same problem here. I purged, installed reliable working kdm, then I downgraded to lightdm 1.10.1 from testing. It works. Your bleeding user, etc ___ Can you give us the result of dpkg -l |grep lightdm when fully upgraded and it doesn't work? Regards, -- Yves-Alexis signature.asc Description: This is a digitally signed message part
Bug#762211: [Pkg-xfce-devel] Bug#762211: lightdm crashes on startup, system falls back to console
control: severity -1 important control: tag -1 moreinfo unreproducible On ven., 2014-09-19 at 16:37 +0200, Fabio Rosciano wrote: Package: lightdm Version: 1.10.2-1 Severity: critical Justification: breaks the whole system Hello, I cannot start lightdm on my system with Intel graphics since yesterday's upgrade from 1.10.1-3 to 1.10.2-1. The service fails with: root@nostromo:~# systemctl start lightdm Job for lightdm.service failed. See 'systemctl status lightdm.service' and 'journalctl -xn' for details. root@nostromo:~# systemctl status lightdm.service ● lightdm.service - Light Display Manager Loaded: loaded (/lib/systemd/system/lightdm.service; enabled) Active: failed (Result: start-limit) since Fri 2014-09-19 16:31:21 CEST; 1s ago Docs: man:lightdm(1) Process: 4253 ExecStartPre=/bin/sh -c [ $(cat /etc/X11/default-display-manager 2/dev/null) = /usr/sbin/lightdm ] (code=exited, status=1/FAILURE) Sep 19 16:31:21 nostromo systemd[1]: Unit lightdm.service entered failed state. Sep 19 16:31:21 nostromo systemd[1]: lightdm.service start request repeated too quickly, refusing to start. Sep 19 16:31:21 nostromo systemd[1]: Failed to start Light Display Manager. Sep 19 16:31:21 nostromo systemd[1]: Unit lightdm.service entered failed state. Can you try with invoke-rc.d lightdm restart ? And invoking lightdm directly yields: root@nostromo:~# lightdm *** Error in `lightdm': double free or corruption (fasttop): *** 0x7f51a9ea1850 *** Aborted Does it happen when downgrading to 1.10.1? -- Yves-Alexis signature.asc Description: This is a digitally signed message part