mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
xserver-nodm-init: Respawn service in case of failure
It appears that sometimes xserver-nodm.service is starting before display driver finished loading causing the following failure in Xorg log: (EE) open /dev/dri/card0: No such file or directory The introduced by this patch is to restart the service, hopefully the display driver will finish loading. (From OE-Core rev: c3935f11f2807ef73f224b6690886d863788310d) Signed-off-by: Ramon Fried <rfried@codeaurora.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
18fd900468
commit
6f04c728a0
@@ -5,6 +5,7 @@ Description=Xserver startup without a display manager
|
||||
EnvironmentFile=/etc/default/xserver-nodm
|
||||
User=@USER@
|
||||
ExecStart=/etc/xserver-nodm/Xserver
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
Alias=display-manager.service
|
||||
|
||||
Reference in New Issue
Block a user