>
> [I'm using] this build:  
> https://rcn-ee.com/rootfs/bb.org/testing/2016-12-18/lxqt-4gb/BBBW-blank-debian-8.6-lxqt-4gb-armhf-2016-12-18-4gb.img.xz
>

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*:

RestartSec=5s
TimeoutSec=60s
StartLimitInterval=5min
StartLimitBurst=60

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?

Stéphane

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/24000952-fa8b-4696-b2a4-752e5b79155b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to