mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
xserver-nodm-init: do not execute Xsession twice
The /etc/X11/Xserver script runs xinit /etc/X11/Xsession already so there is no need to do /usr/bin/xinit /etc/X11/Xsession -- /etc/X11/Xserver. Having xinit nested will result in Xsession being executed twice. To resolve this, just execute /etc/X11/Xserver directly instead of going through xinit. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
b8a4545487
commit
305038f932
+1
-1
@@ -3,7 +3,7 @@ Description=Xserver startup with a display manager
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/default/xserver-nodm
|
||||
ExecStart=/usr/bin/xinit /etc/X11/Xsession -- /etc/X11/Xserver
|
||||
ExecStart=/etc/X11/Xserver
|
||||
|
||||
[Install]
|
||||
Alias=display-manager.service
|
||||
|
||||
Reference in New Issue
Block a user