You are not logged in.
I reinstall my arch and install only xorg lightdm lightdm-gtk-greeter, everything right when i start lightdm manually.
but when I "systemctl enable lightdm" and reboot, i got a black screen with no output and backlight.
I turn to tty1, there is no errors but stuck at systemd info, no login interface.
turn to tty2 and restart lightdm, everything works right, tty7 light up.
there is no error in lightdm's logs and X's logs, what can i do to fix this problem?
PS i have intel and nvidia Graphics cards both and default nouveau driver for nvidia card
Offline
I have had problems similar to your and it was because Xorg was launched too early, before the graphic card was initialized. In my case the graphic card take a fraction of seconds to initialize after loading the needed radeon module (but with a SSD and systemd, lightdm is launched within a fraction of second of that). Of course when we do things by hand, we take a little more time. My not very elegant solution was simply to delay the launch of lightdm edit "/etc/systemd/system/display-manager.service" and put ExecStartPre=/usr/bin/sleep 3). The more proper solution would be to manage systemd dependencies more properly, but this is harder than it appears, at least for me.
Last edited by olive (2016-11-05 08:21:44)
Offline
I have had problems similar to your and it was because Xorg was launched too early, before the graphic card was initialized. In my case the graphic card take a fraction of seconds to initialize after loading the needed radeon module (but with a SSD and systemd, lightdm is launched within a fraction of second of that). Of course when we do things by hand, we take a little more time. My not very elegant solution was simply to delay the launch of lightdm edit "/etc/systemd/system/display-manager.service" and put ExecStartPre=/usr/bin/sleep 3). The more proper solution would be to manage systemd dependencies more properly, but this is harder than it appears, at least for me.
Thanks so much, really works. it's really a interesting bug and fix, haha. Maybe using an HDD will fix it too? ![]()
Last edited by hyec (2016-11-05 13:16:41)
Offline
I have had problems similar to your and it was because Xorg was launched too early, before the graphic card was initialized. In my case the graphic card take a fraction of seconds to initialize after loading the needed radeon module (but with a SSD and systemd, lightdm is launched within a fraction of second of that). Of course when we do things by hand, we take a little more time. My not very elegant solution was simply to delay the launch of lightdm edit "/etc/systemd/system/display-manager.service" and put ExecStartPre=/usr/bin/sleep 3). The more proper solution would be to manage systemd dependencies more properly, but this is harder than it appears, at least for me.
I found this problem is already written in LightDM Wiki.
simply add 'logind-check-graphical=true' into LightDM's config file.
Offline