Now it still boots, I can login to the debug serial console and poke around as usual. But Iâm no longer getting the graphical LXQT desktop on the micro HDMI. Just a black screen with a flashing text mode cursor in the top left.
Before I dig further, I wanted to confirm Iâm using the correct build. Should the build I quoted above resulted in a graphical desktop once installed on a BBBW device?
When the BBBW boots up, I see this message on the serial console:
[FAILED] Failed to start Light Display Manager.
See âsystemctl status lightdm.serviceâ for details.
If it matters, my hookup is like this: BBBW â micro HDMI â HDMI-to-DVI-adapter â DVI to old DELL flat screen display.
When I run âsystemctl status lightdm.serviceâ, part of what I see is this:
Dec 23 00:39:16 beaglebone systemd[1]: lightdm.service: Start request repeated too quickly.
Dec 23 00:39:16 beaglebone systemd[1]: Failed to start Light Display Manager.
Dec 23 00:39:16 beaglebone systemd[1]: lightdm.service: Unit entered failed state.
Dec 23 00:39:16 beaglebone systemd[1]: lightdm.service: Failed with result âstart-limit-hitâ.
If I wait a minute or so and then manually run the command âsudo systemctl start lightdmâ then the desktop starts fine.
After poking around, I found a solution. Turns out the default pause between retries for systemd to restart a service is 100ms, and it only retries a maximum of 5 times within 10 seconds before it gives up forever. So I added the following lines to /etc/systemd/system/display-manager.service:
With this, the X desktop now starts up every time on my BBBW.
Robert, is the file /etc/systemd/system/display-manager.service something that we control, or does it come from an upstream source? Can we easily make modifications to it to increase the length between restarts, and increase the number of times systemd tries to restart it?
When the BBBW boots up, I see this message on the serial console:
[FAILED] Failed to start Light Display Manager.
See 'systemctl status lightdm.service' for details.
If it matters, my hookup is like this: BBBW -> micro HDMI ->
HDMI-to-DVI-adapter -> DVI to old DELL flat screen display.
When I run "systemctl status lightdm.service", part of what I see is this:
Dec 23 00:39:16 beaglebone systemd[1]: lightdm.service: Start request
repeated too quickly.
Dec 23 00:39:16 beaglebone systemd[1]: Failed to start Light Display
Manager.
Dec 23 00:39:16 beaglebone systemd[1]: lightdm.service: Unit entered failed
state.
Dec 23 00:39:16 beaglebone systemd[1]: lightdm.service: Failed with result
'start-limit-hit'.
If I wait a minute or so and then manually run the command "sudo systemctl
start lightdm" then the desktop starts fine.
After poking around, I found a solution. Turns out the default pause
between retries for systemd to restart a service is 100ms, and it only
retries a maximum of 5 times within 10 seconds before it gives up forever.
So I added the following lines to
/etc/systemd/system/display-manager.service:
With this, the X desktop now starts up every time on my BBBW.
Robert, is the file /etc/systemd/system/display-manager.service something
that we control, or does it come from an upstream source? Can we easily
make modifications to it to increase the length between restarts, and
increase the number of times systemd tries to restart it?
I've been doing a evil hack for lcd's:
but i like your setup better..
/etc/systemd/system/display-manager.service is a symlink too: