From 19afef0223d67348657ca461fc07b3fc409f9e49 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Wed, 18 Dec 2013 09:07:29 -0800 Subject: [PATCH] Disable linger workaround; enable the new logind session service With the new logind session service (from the user-session-units package) in place, the linger instance is no longer needed. Change-Id: Id1cb54f97218497d406ee37646bfc1914285d692 Signed-off-by: Patrick McCarty --- scripts/base-weston-default.post | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/base-weston-default.post b/scripts/base-weston-default.post index ba6bef9..1ccef6f 100644 --- a/scripts/base-weston-default.post +++ b/scripts/base-weston-default.post @@ -12,14 +12,12 @@ chown -R app:app /opt/home/app # home dir must have the same label chsmack -a User /opt/home/app -# base-weston-default.post +# Enable a logind session for 'app' user on seat0 (the default seat for +# graphical sessions) mkdir -p /usr/lib/systemd/system/graphical.target.wants +ln -s ../user-session-launch@.service /usr/lib/systemd/system/graphical.target.wants/user-session-launch@seat0-5000.service ln -sf weston.target /usr/lib/systemd/user/default.target -# Enable user@5000.service by setting the linger for user 'app' -mkdir -p /var/lib/systemd/linger -touch /var/lib/systemd/linger/app - # Add over-riding environment to enable the web runtime to # run on an IVI image as a different user then the tizen user # Some notes on some of the variables: -- 2.7.4