From: Jonathan Liu <net147@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH] xserver-nodm-init: do not execute Xsession twice
Date: Wed, 12 Jun 2013 18:30:15 +1000 [thread overview]
Message-ID: <1371025815-2776-1-git-send-email-net147@gmail.com> (raw)
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>
---
.../xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm.service b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm.service
index 53e61d7..94d221e 100644
--- a/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm.service
+++ b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm.service
@@ -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
--
1.8.3
reply other threads:[~2013-06-12 8:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1371025815-2776-1-git-send-email-net147@gmail.com \
--to=net147@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox