diff options
author | Ramon Fried <rfried@codeaurora.org> | 2018-04-10 14:20:40 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-13 16:55:26 +0100 |
commit | c3935f11f2807ef73f224b6690886d863788310d (patch) | |
tree | 4f9a76e89ff503cd9815ef5228cf45c98f4f4f71 | |
parent | 1ec0c977c55ae2c38252e1807dc15c56007d30dc (diff) | |
download | openembedded-core-c3935f11f2807ef73f224b6690886d863788310d.tar.gz openembedded-core-c3935f11f2807ef73f224b6690886d863788310d.tar.bz2 openembedded-core-c3935f11f2807ef73f224b6690886d863788310d.zip |
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.
Signed-off-by: Ramon Fried <rfried@codeaurora.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service.in b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service.in index 324a26f549..87dc4f8fcd 100644 --- a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service.in +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service.in @@ -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 |